mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Fix wrong arg
This commit is contained in:
@@ -583,11 +583,13 @@ export const AcmeCertificateAuthorityFns = ({
|
||||
const skLeafObj = crypto.nativeCrypto.KeyObject.from(leafKeys.privateKey);
|
||||
const skLeaf = skLeafObj.export({ format: "pem", type: "pkcs8" }) as string;
|
||||
|
||||
const [, certificateCsr] = await acme.crypto.createCsr({
|
||||
altNames: subscriber.subjectAlternativeNames,
|
||||
commonName: subscriber.commonName,
|
||||
key: skLeaf
|
||||
});
|
||||
const [, certificateCsr] = await acme.crypto.createCsr(
|
||||
{
|
||||
altNames: subscriber.subjectAlternativeNames,
|
||||
commonName: subscriber.commonName
|
||||
},
|
||||
skLeaf
|
||||
);
|
||||
|
||||
await orderCertificate(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user