Path: blob/main/crypto/openssl/demos/sslecho/A-SSL-Docs.txt
34889 views
Useful Links:12OpenSSL API Documentation: https://www.openssl.org/docs34Github: https://github.com/openssl/openssl56OpenSSL Wiki: https://github.com/openssl/openssl/wiki78Original Simple Server: https://github.com/openssl/openssl/wiki/Simple_TLS_Server910---------------------------------------------------------------1112Generate self signed cert and key 'pem' files (good for 10 years):1314openssl req -newkey rsa:4096 -x509 -sha256 -days 3650 -nodes -out cert.pem -keyout key.pem1516You can just hit carriage returns to accept the default values, except for "Common Name"; you17should enter 'localhost', or an actual hostname.1819The same keys can be used for both communicating instances; same or different machines.202122