Create a self-signed certificate with two commands. It may be useful to administer the site via https, for example.
1. Create a key.
# openssl genrsa -out server.key 2048
2. Create a certificate. The domain example.com should be replaced with yours.
# openssl req -new -x509 -key server.key -out server.crt -days 3650 -subj /CN=example.com
How do you rate the article?