This video show how to create SSL certificate for localhost, which you can use for local development or internal application. First make sure you already install OpenSSL, hope this video can help you. :)
If you have some problems or difficulties or have some other questions then you can ask me in the comment bellow. I will try answer your questions. :)
Apache VHost config example (please change angle brackets with angle brackets your keyboard if you copy-paste code) : <VirtualHost *:443> ServerName localhost:443 ServerAdmin [email protected]
SSLEngine on SSLCertificateFile "[your_ssl_folder_location]/localhost.crt" SSLCertificateKeyFile "[your_ssl_folder_location]/localhost.key"
DocumentRoot "[your_htdoc_folder_location]" <Directory "[your_htdoc_folder_location]/htdocs"> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Require all granted </Directory> </VirtualHost>