Here's a basic vhost config
<VirtualHost *:80>
ServerName www.example.com
DocumentRoot /var/www/vhosts/www.example.com
DirectoryIndex index.html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Add the following to your config and adjust the file paths
<VirtualHost *:443>
...
SSLEngine on
SSLCertificateFile /path/to/your_domain_name.crt
SSLCertificateKeyFile /path/to/your_private.key
SSLCertificateChainFile /path/to/DigiCertCA.crt
</VirtualHost>
To disable in the event of using a self-signed cert
Header always set Strict-Transport-Security "max-age=0"
ServerSignature Off
ErrorDocument 404 /error/404.html