Skip to content

Commit be59b18

Browse files
committed
cert-generation: digital signature and key encipherment required
1 parent ef973d8 commit be59b18

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

internal/certificates/manage_libvirt.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,12 @@ func EnsureCertificate(ctx context.Context, c client.Client, host string) error
9393
Duration: &metav1.Duration{Duration: 8 * time.Hour},
9494
RenewBefore: &metav1.Duration{Duration: 2 * time.Hour},
9595
IsCA: false,
96-
Usages: []cmapi.KeyUsage{cmapi.UsageServerAuth, cmapi.UsageCertSign},
96+
Usages: []cmapi.KeyUsage{
97+
cmapi.UsageServerAuth,
98+
cmapi.UsageCertSign,
99+
cmapi.UsageDigitalSignature,
100+
cmapi.UsageKeyEncipherment,
101+
},
97102
Subject: &cmapi.X509Subject{
98103
Organizations: []string{"nova"},
99104
},

0 commit comments

Comments
 (0)