Skip to content

Commit 966dec7

Browse files
committed
Fix PKCS #12 generation
1 parent 0219c79 commit 966dec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/gen_certs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if [ ! -z $password ]; then
4040
openssl rsa -des3 -in $CERT_BASE/device.key -out $CERT_BASE/device.des3.key -passout pass:$password
4141
# PKCS #12 for device, needed for NX-OS
4242
# Uncertain if this is correct
43-
openssl pkcs12 -export -out $CERT_BASE/device.pfx -inkey $CERT_BASE/device.key -in $CERT_BASE/device.crt -certfile $CERT_BASE/device.crt -password pass:$password
43+
openssl pkcs12 -export -out $CERT_BASE/device.pfx -inkey $CERT_BASE/device.key -in $CERT_BASE/device.crt -certfile $CERT_BASE/rootCA.pem -password pass:$password
4444
else
4545
print_red "SKIPPING device key encryption"
4646
fi

0 commit comments

Comments
 (0)