Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
openssl genrsa -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt -subj "/C=CA/ST=Ontario/L=London/O=Plexus International/CN=Plexus International Admin Certificate Authority"
# Create server key and cert
openssl genrsa -out server.key 2048
openssl req -new -key server.key -out server.csr -subj "/C=CA/ST=Ontario/L=London/O=Plexus International/CN=admin.plexuselearning.com"
openssl x509 -req -days 365 -in server.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out server.crt
openssl genrsa -out admin-interface-client.key 2048
openssl req -new -key admin-interface-client.key -out admin-interface-client.csr -subj "/C=CA/ST=Ontario/L=London/O=Plexus International/CN=Legacy User Management Client"
openssl x509 -req -days 365 -in admin-interface-client.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out admin-interface-client.crt
openssl pkcs12 -export -clcerts -in admin-interface-client.crt -inkey admin-interface-client.key -out admin-interface-client.p12 -passout pass:fm4DuP9KbOD3h3kl9vVA8pV3NYO3V4ud
openssl pkcs12 -in admin-interface-client.p12 -out admin-interface-client.pem -clcerts -passout pass:fm4DuP9KbOD3h3kl9vVA8pV3NYO3V4ud -passin pass:fm4DuP9KbOD3h3kl9vVA8pV3NYO3V4ud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.