LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Creating New Certificates in Apache (https://www.linuxquestions.org/questions/linux-software-2/creating-new-certificates-in-apache-322033/)

kaplan71 05-10-2005 12:56 PM

Creating New Certificates in Apache
 
Hi there –



I am running Apache 1.3.x with Mod_SSL 2.8.x and during the initial installation of the server, I had run the make certificate script. The certificate has recently expired and I wanted to replace it with a new one. Is it simply a matter of rerunning the utility to create the script or is there more steps involved? Thanks.

Donboy 05-10-2005 01:10 PM

If you're doing a self-signed cert, and it sounds like you are, its easily done... and since you're signing the cert yourself, just set the expire for 10 years and you never have to do this again.

openssl req -new -key /path/to/private/key.pem -x509 -days 3650 -out /path/to/cert.crt


All times are GMT -5. The time now is 11:39 AM.