Brandon,
Does the file exist (/etc/ssl/private/ssl-cert-snakeoil.key)?
Have you tried rebooting?
Thanks,
Wes
***Should be:
Does the file exist (/etc/ssl/certs/ssl-cert-snakeoil.pem)?
That's what I get for copying and pasting without performing my due diligence. :)
Thanks,
Wes
EDIT: Just noticed the second post saying it should be in the certs folder. I checked there and don't see the file either.
Brandon,
You could try regenerating the cert (in /etc/ssl/certs/) and referencing it in /etc/apache2/sites-available/securityonion.conf (in place of the snakeoil cert/key)
Ex:
# Create new cert
sudo openssl req -x509 -sha256 -nodes -days 3650 -newkey rsa:2048 -keyout /etc/ssl/private/mynewcert.key -out /etc/ssl/certs/mynewcert.crt
#Reference the new cert in /etc/apache2/sites-available/securityonion.conf:
SSLCertificateFile /etc/ssl/certs/mynewcert.crt
SSLCertificateKeyFile /etc/ssl/private/mynewcert.key
#Then, restart Apache
sudo service apache2 restart
/etc/apache2/sites-available should be symlinked to /etc/apache2/sites-enabled.
Thanks,
Wes
That certainly did it Wes. Thank you so much for the clear direction!