Skip to content

Instantly share code, notes, and snippets.

@pyghassen
Last active August 29, 2015 14:07
Show Gist options
  • Save pyghassen/7a340c9ad4d38751cc66 to your computer and use it in GitHub Desktop.
Save pyghassen/7a340c9ad4d38751cc66 to your computer and use it in GitHub Desktop.
openssl req -new -newkey rsa:2048 -nodes -keyout client3.key -out client3.csr
openssl x509 -req -days 365 -in client3.csr -signkey client3.key -out client3.crt
#Generate client certificate for a browser
openssl pkcs12 -export -out client.pfx -inkey client3.key -in client3.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment