mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 22:27:48 +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 skLeafObj = crypto.nativeCrypto.KeyObject.from(leafKeys.privateKey);
|
||||||
const skLeaf = skLeafObj.export({ format: "pem", type: "pkcs8" }) as string;
|
const skLeaf = skLeafObj.export({ format: "pem", type: "pkcs8" }) as string;
|
||||||
|
|
||||||
const [, certificateCsr] = await acme.crypto.createCsr({
|
const [, certificateCsr] = await acme.crypto.createCsr(
|
||||||
altNames: subscriber.subjectAlternativeNames,
|
{
|
||||||
commonName: subscriber.commonName,
|
altNames: subscriber.subjectAlternativeNames,
|
||||||
key: skLeaf
|
commonName: subscriber.commonName
|
||||||
});
|
},
|
||||||
|
skLeaf
|
||||||
|
);
|
||||||
|
|
||||||
await orderCertificate(
|
await orderCertificate(
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user