Jump to content

Apache doesn't recognize new certificate...FC6 httpd-2.2.6 kernel 2.6.22.5


bildo

Recommended Posts

I'm stuck...I created a self signed certificate one year ago.  It has since expired.  So...I created a new certificate just like I did a year ago.  For the life of me it will not see the new certificate.  It still shows the last certificate on all browsers.  Is there another keystore for apache somewhere?

 

Script used to create key...this script is over a year old...called like ./create-cs.sh server.  Cert is located at /etc/https/ssl just like before.  SSL is still operable just has the old cert.

 

Thought?

 

#!/bin/sh

 

# Generate our Certificate Authority

openssl genrsa -des3 -out ca.key 4096

openssl req -new -x509 -days 730 -key ca.key -out ca.crt

 

# Generate our Server key, request to sign and certificate

openssl genrsa -des3 -out $1.key 4096

openssl req -new -key $1.key -out $1.csr

openssl x509 -req -days 730 -in $1.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out $1.crt

 

# Remove the passphrase - Comment out if not desired

mv $1.key $1.key.passphrase

openssl rsa -in $1.key.passphrase -out $1.key

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.