Skip to content

Instantly share code, notes, and snippets.

@marcelog
Last active June 27, 2019 17:01
Show Gist options
  • Save marcelog/0ef73e50eff8de138fea1687f72fca47 to your computer and use it in GitHub Desktop.
Save marcelog/0ef73e50eff8de138fea1687f72fca47 to your computer and use it in GitHub Desktop.
Create SSL certificates for your clients by using your own CA
openssl genrsa -des3 -out client.key 4096
openssl req -new -key client.key -out client.csr
openssl x509 -req -days 3650 -in client.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out client.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment