Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/crypto/openssl/demos/sslecho/A-SSL-Docs.txt
34889 views
1
Useful Links:
2
3
OpenSSL API Documentation: https://www.openssl.org/docs
4
5
Github: https://github.com/openssl/openssl
6
7
OpenSSL Wiki: https://github.com/openssl/openssl/wiki
8
9
Original Simple Server: https://github.com/openssl/openssl/wiki/Simple_TLS_Server
10
11
---------------------------------------------------------------
12
13
Generate self signed cert and key 'pem' files (good for 10 years):
14
15
openssl req -newkey rsa:4096 -x509 -sha256 -days 3650 -nodes -out cert.pem -keyout key.pem
16
17
You can just hit carriage returns to accept the default values, except for "Common Name"; you
18
should enter 'localhost', or an actual hostname.
19
20
The same keys can be used for both communicating instances; same or different machines.
21
22