Installing SSL Certificate HELP

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Installing SSL Certificate HELP

Postby jakejammin » 23. January 2006 19:20

I hope someone can help me with this problem.

I'm trying to install a SSL Certificate from GoDaddy.Com
So let me explain the steps I took.

Now I have a freash install of xampp.
After setting up my VirtualHosts, all is fine, now I open the httpd-ssl.conf and confrigure it for one domain.
That works fine when using the default server.crt and .key files.

So I opened the "openssl.exe" in the apache bin and generate a CSR with:
Code: Select all
openssl genrsa -des3 -out .key 1024
Then
openssl req -config openssl.cnf -new -key server.key -out .csr

That created 2 files in the bin folder.
.key
.csr

So at that point I took and opened the .csr in wordpad and copied the information to the SSL request in GoDaddy.Com.

They emailed me 2 SSL Certificates, one was "www..com.crt" and the other was "issuing.crt"......

So I took both and placed them in the crt folder, then also placed ther .key in the key folder of xampp\apache\conf\ssl.key.
Opened the httpd-ssl.conf and changed the below.
Code: Select all
SSLCertificateFile conf/ssl.crt/www..com.crt
SSLCertificateKeyFile conf/ssl.key/.key
SSLCertificateChainFile conf/ssl.crt/issuing.crt

Now when I restart Apache from the "Adminstrative Tools/Services" I get this error.

Image

The "Event Log" says:
The Apache2 service terminated with service-specific error 1 (0x1).

Can someone please tell me what I'm doing wrong......
When I make a self signed certificate it works, but when I try and use GoDaddy.Com's certificate I get the error above when I try and start Apache.

HELP PLEASE :lol:
Last edited by jakejammin on 05. July 2006 20:56, edited 1 time in total.
jakejammin
 
Posts: 5
Joined: 21. July 2005 00:15

Postby jakejammin » 23. January 2006 19:23

Also let me add that when I just add to the httpd-ssl.conf

SSLCertificateChainFile conf/ssl.crt/issuing.crt

It starts fine.
But it is when I add the:

SSLCertificateFile conf/ssl.crt/www..com.crt
SSLCertificateKeyFile conf/ssl.key/.key


Then the server will not start and I get the above error.

Thanks :wink:
Last edited by jakejammin on 05. July 2006 20:56, edited 1 time in total.
jakejammin
 
Posts: 5
Joined: 21. July 2005 00:15

Postby WorldDrknss » 24. January 2006 06:36

www.worlddrknss.blogdns.org <-- XAMPP Tutorials
User avatar
WorldDrknss
 
Posts: 292
Joined: 17. September 2005 13:40

Postby jakejammin » 25. January 2006 03:31

WorldDrknss wrote:www.worlddrknss.blogdns.org <-- XAMPP Tutorials


That does not help me.
When I do that it works fine, but I'm not a trusted CA, so thus the user gets the Not Trusted window popup.

But when I take them steps but make a CSR, then request a SSL Certificate, then add the Certificates I get emailed to me and start Apache, I get that error above........


Does ANYONE know why or what I can check????
jakejammin
 
Posts: 5
Joined: 21. July 2005 00:15

Postby jakejammin » 28. January 2006 05:32

Is there ANYONE here that can help me with this problem???
jakejammin
 
Posts: 5
Joined: 21. July 2005 00:15

Re: Installing SSL Certificate HELP

Postby jakejammin » 05. July 2006 20:55

jakejammin wrote:I hope someone can help me with this problem.

I'm trying to install a SSL Certificate from GoDaddy.Com
So let me explain the steps I took.

Now I have a freash install of xampp.
After setting up my VirtualHosts, all is fine, now I open the httpd-ssl.conf and confrigure it for one domain.
That works fine when using the default server.crt and .key files.

So I opened the "openssl.exe" in the apache bin and generate a CSR with:
Code: Select all
openssl genrsa -des3 -out .key 1024
Then
openssl req -config openssl.cnf -new -key server.key -out .csr

That created 2 files in the bin folder.
.key
.csr

So at that point I took and opened the .csr in wordpad and copied the information to the SSL request in GoDaddy.Com.

They emailed me 2 SSL Certificates, one was "www..com.crt" and the other was "issuing.crt"......

So I took both and placed them in the crt folder, then also placed ther .key in the key folder of xampp\apache\conf\ssl.key.
Opened the httpd-ssl.conf and changed the below.
Code: Select all
SSLCertificateFile conf/ssl.crt/www..com.crt
SSLCertificateKeyFile conf/ssl.key/.key
SSLCertificateChainFile conf/ssl.crt/issuing.crt

Now when I restart Apache from the "Adminstrative Tools/Services" I get this error.

Image

The "Event Log" says:
The Apache2 service terminated with service-specific error 1 (0x1).

Can someone please tell me what I'm doing wrong......
When I make a self signed certificate it works, but when I try and use GoDaddy.Com's certificate I get the error above when I try and start Apache.

HELP PLEASE :lol:
jakejammin
 
Posts: 5
Joined: 21. July 2005 00:15

Postby Izzy » 06. July 2006 03:23

www..com may be your problem.
Should it not be www.yourdomainname.com.crt?

Also (if the above fixes it) it will only work with https://www.yourdomain.com. It will not work with https://yourdomain.com.
CMIW

You have an image file with properties of http://www..com/untitled.JPG that is not showing in your post. That is the clue.

HTH
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 65 guests