Generate Self Signed Certificate - metadatacenter-attic/cedar-docs GitHub Wiki
In order to allow Nginx to respond to HTTPS requests on port 443 we need to add a signed certificate to the server. The earlier steps describe how we use Let's Encrypt to generate a signed certificate on RHEL.
If Let's Encrypt is not available the steps below describe the process of generating a self-signed certificate. These steps also apply to generating a self-signed certificate for OS X machines.
However, Let's Encrypt is the preferred solution on deployment RHEL machines and these steps should only be used for testing purposes. Client browsers will get an invalid certificate warning when using a self-signed certificate.