Self-Signed_Certificate
The second step is to start creating the Certificate File. For that you can use the «openssl» command that will assist you in the process. The command is as follows
mkdir -p /etc/ssl/localcerts
openssl req -new -x509 -days 365 -nodes -out /etc/ssl/localcerts/apache.pem -keyout /etc/ssl/localcerts/apache.key
chmod 600 /etc/ssl/localcerts/apache*