Last active
January 23, 2018 05:28
-
-
Save nickretallack/d83226e720b4e5c2aa12 to your computer and use it in GitHub Desktop.
This should work, right?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openssl genrsa -out private.pem 4096 | |
openssl spkac -key private.pem > public.spkac | |
echo "CN=test" >> public.spkac | |
openssl ca -config openssl.conf -extensions client -spkac public.spkac -out signed.pem -batch | |
openssl pkcs12 -nodes -export -inkey private.pem -in signed.pem -out cert.p12 | |
# No certificate matches private key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use /etc/ssl/openssl.cnf