OpenSSL
To allow secure HTTPS connection on port 443, we can use self-signed SSL certificates.
Generate a private key. The below command generates a 2048-bit RSA private key.
Generate a certificate signing request (CSR). A CSR is a request sent to a Certificate Authority (CA) to obtain a TLS certificate. To sign it, we need our private key generated in above command.
Self-sign the CSR.
Last updated