
3rd January 2013, 17:16
|
|
Junior Member
|
|
Join Date: Dec 2012
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
*:443 not reachable?
I've read a lot of threads o nthis forum, but non of them have a clear answer for my issue...
So I have a SSL certificate, installed it for one of my websites in the ISPConfig 3 contorlpanel... I also enabled SSL on the main config screen of the website...
But whenever I go to https://domain.nl(:443) IE gives me the error:
Internet Explorer cannot display the webpage.
/etc/apache2/apache2.conf is listening to port 443... but why is it still not working?
|

3rd January 2013, 22:04
|
|
Junior Member
|
|
Join Date: Dec 2012
Posts: 10
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
This is the only thing I can think of off the top of my head. Did you specify "443" when ISPConfig asked which port to make the interface available on?
Chris
|

3rd January 2013, 22:37
|
|
Junior Member
|
|
Join Date: Dec 2012
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by ChrisZ
This is the only thing I can think of off the top of my head. Did you specify "443" when ISPConfig asked which port to make the interface available on?
Chris
|
Good question...
Where can I check this?
|

3rd January 2013, 23:51
|
|
Junior Member
|
|
Join Date: Dec 2012
Posts: 10
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
http://www.howtoforge.com/forums/showthread.php?t=42519
Quote:
Originally Posted by gkot
edit
etc/apache2/sites-available/ispconfig.vhost
change line 7-10 to
Code:
Listen 8080
NameVirtualHost *:8080
<VirtualHost _default_:8080>
login SSH to reboot apache
Code:
/etc/init.d/apache2 restart
|
I hope this helps!
|

4th January 2013, 08:16
|
|
Junior Member
|
|
Join Date: Dec 2012
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
I guess you misunderstand my issue...
I'm able to login to the ISPConfig control panel (over port 8080, with an unsigned certificate, I'm fine with that)...
I'm trying to add an SSL certificate to one of the websites which is hosted on that server via ISPConfig...
The settings in ISPConfig seem right, I pasted the SSL cert into the second large field on the SSL tab of the website (including the ---begin, end--- delimiters), I enabled SSL on the main tab of that website, and if I go to my FTP server I can see that it did save the *.crt file correctly in the /ssl folder (if I open the file, it is the certificate signed by GeoTrust)...
I also tried to add this directive via ISPConfig
SSLCertificateChainFile /var/www/domain.ext/ssl/domain.ext.crt
After saving, when I go to the /etc/apache2/sites-availabledomain.ext.vhost I can see that that directive is presont on the last line (within the vhost tags)
I still end up with IE not being able to open any page (if I use https, http is fine)...
Edit: also tried editing the vhost tag from *:80 to *:443 or ext.ip.address:443 orr just *)...but nothing...
Last edited by SparkyRih; 4th January 2013 at 08:20.
|

4th January 2013, 08:40
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,181 Times in 3,200 Posts
|
|
Please do not edit any of the apache config files manually, if you did any changes already, undo them as tehy will prevent the ssl website to work later. The procedure to install a ssl certificate in a website is:
1) Select the IP address in the site settings instead of *. If the IP does not show up, add it under System > Server IP.
2) Enable the ssl checkbox in the site settings.
3) Create a ssl certificate on the ssl certificate tab. If you have already created a cert that does not work, then delete this cert by selecting delete as action and press on save before you create a new ssl cert. Now test that the ssl site works with the self signed ssl cert.
4) If you want to use a signed ssl cert, then use the csr that ispconfig shows in the first field. Dont use any other csr as the crt and key will not match later and the sl site will fail.
|

4th January 2013, 09:05
|
|
Junior Member
|
|
Join Date: Dec 2012
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Config is back to defaults...
Do I really need to set that fixed IP? if I do, all my other sites redirect to that one site... if so I need to get a separate IP for every SSL site? (not really a problem, but just confirming before I get a second IP)...
But I can't get a new cert, I already generated the csr via openssl and purchased the ssl cert with GeoTrust...
Apache gives this error though: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
But that's probably pretty much the same thign as you're telling me, but I thought maybe it's still usefull for anyone...
Edit: I did do what you told me, I added the fixed IP instead of the *, enabled SSL, createda a self signed certificate via the SSL tab, saved it, still nothing...
Last edited by SparkyRih; 4th January 2013 at 09:18.
|

4th January 2013, 09:26
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,181 Times in 3,200 Posts
|
|
Quote:
|
Do I really need to set that fixed IP? if I do, all my other sites redirect to that one site... if so I need to get a separate IP for every SSL site? (not really a problem, but just confirming before I get a second IP)...
|
Just dont mix * and IP. If you switch all sites to use the IP, it will work again.
Quote:
|
But I can't get a new cert, I already generated the csr via openssl and purchased the ssl cert with GeoTrust...
|
Then you will have to replace cert and key manually in the ssl folder. But the ssl authority should also resign your cert for free based on the csr created in ispconfig. Thats nemed rekeying.
Quote:
|
Edit: I did do what you told me, I added the fixed IP instead of the *, enabled SSL, createda a self signed certificate via the SSL tab, saved it, still nothing...
|
Did you delete the cert before you created a new one?
|
|
The Following User Says Thank You to till For This Useful Post:
|
|

4th January 2013, 10:10
|
|
Junior Member
|
|
Join Date: Dec 2012
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
I got it to work for a minute with a self signed cert, but when I try te add my own cert (replacing the key manually) it does not work anymore...
The virtualhost with ip:443 was added (by ISPConfig) in the vhosts file of the website, but now the virtual host is not created anymore...
1. Created self signed cert: working
After this
1. Deleted the self signed certificate
2. Inserted the real certificate data in the certificate field, saved (gave the system some time, and waited for the *.crt file to appear in the ssl folder)...
3. added the www.domain.ext.key file manually to the ssl dir...
Edit: So it works now, agian with a self signed cert, now I replaced the files in the ssl dir, but it keeps using the self signed cert...
Edit 2: Got it... I removed al the certs from the ssl dir, and uploaded my own stuff, now it takes the signed certificate... and it just works perfect
Thanks for the help!
Last edited by SparkyRih; 4th January 2013 at 12:22.
|

4th January 2013, 14:41
|
|
Junior Member
|
|
Join Date: Dec 2012
Posts: 10
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
Quote:
Originally Posted by SparkyRih
I guess you misunderstand my issue...
|
Yes, I sure did. I'm sorry. I actually thought, at first, that's what you meant and then read it again.
|
|
The Following User Says Thank You to ChrisZ For This Useful Post:
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 13:08.
|
Recent comments
12 hours 51 min ago
15 hours 46 min ago
17 hours 30 sec ago
18 hours 23 min ago
20 hours 1 min ago
21 hours 30 min ago
22 hours 44 min ago
1 day 14 hours ago
1 day 15 hours ago
1 day 19 hours ago