Link to home
Start Free TrialLog in
Avatar of maxalarie
maxalarieFlag for Canada

asked on

SSL on Apache hekp.

Hi,

Newbie with SSL certs here..

My setup is:  Ubuntu Lucid Lynx and Apache 2.

I have bought an SSL cert from rapidssl and followed these instructions: https://knowledge.rapidssl.com/support/ssl-certificate-support/index?page=content&actp=CROSSLINK&id=so13985

I already had a forum, and i just want to configure it with SSL.

in etc/apache2/sites-available i got:  

site-one (I enable it by using a2ensite site-one)

I have copied site-one  to site-one-ssl and  changed the following in the file:

NameVirtualHost *:443
<VirtualHost *:443>

 SSLEngine On
 SSLCertificateFile /etc/apache2/ssl.key/key.crt
 SSLCertificateKeyFile /etc/apache2/ssl.key/key.key
 SSLCACertificateFile /etc/apache2/ssl.key/RapidSSL_CA_bundle.crt


Now when i go a2ensite site-one-ssl i have to error, but whwn trying toi connect to it i have  certficiate page error, and this appears in the logfiles:
osqa.error.log.1:[Fri Dec 02 14:21:22 2011] [warn] RSA server certificate CommonName (CN) `RapidSSL CA' does NOT match server name!?

i dont know where  this RapidSSLCA thing came from.


anyone have an idea what this means?  Seems lke my server name was not correctly entered somewhere??




Also, How can I test the SSL version of my site witthout taking the prod site down?
ASKER CERTIFIED SOLUTION
Avatar of JP-L
JP-L
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of maxalarie

ASKER

I have notices the CN was diferent..  in the Certificate its  says  hub.company.com  and  my hostname was hub.


Maybe its related?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I have fixed my problem. Turns out it was  my error. I id not use an "intermediate crt file.
thanks