How to generate file certification .crt and .key using OpenSSL?
Step 1 : Download & Extract / Install OpenSSL
- http://gnuwin32.sourceforge.net/packages/openssl.htm
Step 2 : Generate file *.crt and *.key using OpenSSL
$ openssl req -x509 -sha256 -nodes -newkey rsa:2048 -days 365 -keyout localhost.key -out localhost.crt -config "C:\OpenSSL-Win64\share\openssl.cnf"
Step 3 : Done!
Reference :
- Generate File Self-Signed Certification for Localhost - StackOverflow
- OpenSSL Read Config File 'openssl.cnf' - StackOverflow
0 komentar: