fix: Utils | update public and internal cert algorithms

This commit is contained in:
2025-11-24 22:08:49 +05:00
parent d6c534378a
commit a753fc0e1e
5 changed files with 60 additions and 61 deletions

View File

@@ -23,7 +23,7 @@ export class PrivateCertificate extends Certificate {
constructor(
scope: Construct,
id: string,
opts: Omit<CertificateOptions, "issuerRef">,
opts: Omit<CertificateOptions, "issuerRef" | "privateKey">,
) {
super(scope, id, {
...opts,
@@ -31,6 +31,10 @@ export class PrivateCertificate extends Certificate {
name: "cluster-issuer", // internal CA
kind: "ClusterIssuer",
},
privateKey: {
algorithm: "Ed25519",
size: 384,
},
});
}
}