#1  
Old 16th May 2013, 16:29
pebkac pebkac is offline
Senior Member
 
Join Date: Feb 2009
Posts: 132
Thanks: 2
Thanked 7 Times in 7 Posts
Default SSL Not working right

Steps I took:

Enabled SSL and chose an IP for the site.
On SSL tab selected create SSL
Took that request and entered it in startssl
The gave me a cert, which I entered into the SSL tab and then chose save certs.

Tried the site, and got an error about SSL being too long. I changed the ip to the * and saved it and now the sites comes up but I get an SSL warning about the cert not being ok, i can proceed through though.

What am I doing wrong? I need this to work.

Update: Here is the error I get in Chrome with the IP specified.
Quote:
Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error.
Here is what it looks like when I restart Apache:
Quote:
root@dor:~# /etc/init.d/apache2 restart
* Restarting web server apache2 [Thu May 16 14:53:10 2013] [warn] NameVirtualHost 184.169.151.252:80 has no VirtualHosts
[Thu May 16 14:53:10 2013] [warn] NameVirtualHost 184.169.151.252:443 has no VirtualHosts
... waiting [Thu May 16 14:53:11 2013] [warn] NameVirtualHost 184.169.151.252:80 has no VirtualHosts
[Thu May 16 14:53:11 2013] [warn] NameVirtualHost 184.169.151.252:443 has no VirtualHosts
UPDATE 2: Not sure what happened but it is now working. I switched back from specified IP to * (wildcard) and restarted apache, and got the same above error..but now the site is loading with SSL and now warnings.

I do have another question, how can I force SSL on everyone that goes to the site, meaning even if they just enter my domain without SSL it automatically makes it SSL?

Last edited by pebkac; 16th May 2013 at 17:06. Reason: Updated info
Reply With Quote
Sponsored Links
  #2  
Old 17th May 2013, 21:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,715 Times in 2,557 Posts
 
Default

Quote:
Originally Posted by pebkac View Post
Steps I took:

Enabled SSL and chose an IP for the site.
On SSL tab selected create SSL
Took that request and entered it in startssl
The gave me a cert, which I entered into the SSL tab and then chose save certs.

Tried the site, and got an error about SSL being too long. I changed the ip to the * and saved it and now the sites comes up but I get an SSL warning about the cert not being ok, i can proceed through though.

What am I doing wrong? I need this to work.

Update: Here is the error I get in Chrome with the IP specified.


Here is what it looks like when I restart Apache:


UPDATE 2: Not sure what happened but it is now working. I switched back from specified IP to * (wildcard) and restarted apache, and got the same above error..but now the site is loading with SSL and now warnings.
Are there any errors in Apache's error log?

What values did you enter on the SSL tab? Maybe some of them are not valid.

Quote:
]I do have another question, how can I force SSL on everyone that goes to the site, meaning even if they just enter my domain without SSL it automatically makes it SSL?
http://wiki.apache.org/httpd/RewriteHTTPToHTTPS
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a SSL certificate - Quick guide SamTzu Tips/Tricks/Mods 22 4th January 2011 13:38
Documentation for SSL abubin Installation/Configuration 1 23rd April 2010 06:48
Postfix ssl install passphrase entry for smtpd.key not working csharp2a Installation/Configuration 1 14th March 2007 22:05
SSL Not Working parkerj Installation/Configuration 5 13th March 2007 19:16
cant get ssl working. need some help please. wwparrish Installation/Configuration 6 6th February 2006 18:16


All times are GMT +2. The time now is 08:56.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.