Files
Yggdrasil/infotro/SDi/labs/SSL/README.md
T
2024-04-05 13:26:58 +02:00

486 B

Lab OpenSSL & Certificates


Create an RSA key

openssl genrsa -out <name>.key 2048

Self-sign root certificate

openssl req -new -x509 -days 365 -key ca.key -config ca.cnf -out ca.crt

Create a request

openssl req -new -sha256 -key <my_site>.key -config <my_site>.cnf -out <my_site>.csr

Sign a request with root certificate

openssl ca -config ca_ssl.cnf -in <my_site>.csr -out <my_site>.crt