mirror of
https://github.com/openssl/openssl.git
synced 2026-01-18 17:11:31 +01:00
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <ppzgs1@gmail.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/27331)
21 lines
714 B
Plaintext
21 lines
714 B
Plaintext
Useful Links:
|
|
|
|
OpenSSL API Documentation: https://docs.openssl.org/master
|
|
|
|
Github: https://github.com/openssl/openssl
|
|
|
|
OpenSSL Wiki: https://github.com/openssl/openssl/wiki
|
|
|
|
Original Simple Server: https://github.com/openssl/openssl/wiki/Simple_TLS_Server
|
|
|
|
---------------------------------------------------------------
|
|
|
|
Generate self signed cert and key 'pem' files (good for 10 years):
|
|
|
|
openssl req -newkey rsa:4096 -x509 -sha256 -days 3650 -nodes -out cert.pem -keyout key.pem
|
|
|
|
You can just hit carriage returns to accept the default values, except for "Common Name"; you
|
|
should enter 'localhost', or an actual hostname.
|
|
|
|
The same keys can be used for both communicating instances; same or different machines.
|