Last active
June 27, 2019 17:01
-
-
Save marcelog/0ef73e50eff8de138fea1687f72fca47 to your computer and use it in GitHub Desktop.
Create SSL certificates for your clients by using your own CA
This file contains 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 -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