Re-Generate SSL Certificate

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re-Generate SSL Certificate

L1 Bithead

Hi, 

I'm in the process of hardening Expedetion (v 1.1.2) using the Expedition-Hardening-Guide.  Everything is going well, expect when I attempt to update the SSL certificate the changes do not seem to take effect.  I've even gone so far as to remove the old *snakeoil* files and replace them with new ones.  

 

Does anyone have advice on how to update to either a new self-signed certificate or trusted certificate?


Thanks,


1 ACCEPTED SOLUTION

Accepted Solutions

I just tried to run the 2 commands from the hardening guide and worked for me, Have you tried to use another browser to see if it gets the new certificate?

 

You can check in the config file if your apache is pointing to those certificates?

 

go to /etc/apache/sites-enabled 

 

and edit the file "default-ssl.conf and check for

 

SSLCertificateFile      /etc/ssl/certs/ssl-cert-snakeoil.pem

SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key

 

Regards

View solution in original post

5 REPLIES 5

L7 Applicator

Probably you did but Have you restarted the apache daemon after the changes?

Thanks for the feedback.  Yes I restarted both the service and the VM, it didn't seem to have any impact. 

I just tried to run the 2 commands from the hardening guide and worked for me, Have you tried to use another browser to see if it gets the new certificate?

 

You can check in the config file if your apache is pointing to those certificates?

 

go to /etc/apache/sites-enabled 

 

and edit the file "default-ssl.conf and check for

 

SSLCertificateFile      /etc/ssl/certs/ssl-cert-snakeoil.pem

SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key

 

Regards

Thanks, a different browser picked up the new cert. 

Appreciate it!

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!