HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   When install SSL no more site access (http://www.howtoforge.com/forums/showthread.php?t=53943)

hitri 28th August 2011 14:49

When install SSL no more site access
 
Hi,

I installed "The Perfect Server" on Ubuntu 11.04 with Ispconfig 3. Everythig have worked fine, then I activated SSL cert for the site and now I have no access to my site. Not even http. Only SSH still works. :confused: It looks, that apache stop working.

till 29th August 2011 11:49

Please restart apache on the shell. If it shows an error, post that error.

hitri 29th August 2011 12:29

I get this:

httpd not running, trying to start
Action 'restart' failed.
The Apache error log may have more information.

And here is apache error log:

[Sun Aug 28 06:26:47 2011] [error] [client 95.176.180.106] PHP Notice: Undefined index: return_to_ur l in /usr/local/ispconfig/interface/lib/classes/tform_actions.inc.php on line 142, referer: http://www.xxxxxxxxxx.si:8080/index.php
[Sun Aug 28 06:26:55 2011] [error] [client 66.249.66.234] client denied by server configuration: /etc /apache2/htdocs
[Sun Aug 28 06:26:56 2011] [error] [client 66.249.66.234] client denied by server configuration: /etc /apache2/htdocs
[Sun Aug 28 06:27:02 2011] [notice] caught SIGTERM, shutting down
[Sun Aug 28 06:27:03 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Aug 28 06:27:03 2011] [notice] Digest: generating secret for digest authentication ...
[Sun Aug 28 06:27:03 2011] [notice] Digest: done
[Sun Aug 28 06:27:03 2011] [notice] Apache/2.2.17 (Ubuntu) DAV/2 mod_fcgid/2.3.6 PHP/5.3.5-1ubuntu7.2 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.17 OpenSSL/0.9.8o configured -- resuming normal operations
[Sun Aug 28 06:27:04 2011] [error] [client 95.176.180.106] client denied by server configuration: /et c/apache2/htdocs
[Sun Aug 28 06:27:06 2011] [notice] caught SIGTERM, shutting down

till 29th August 2011 12:45

Please disable the site where you enabled ssl temporarily with the command:

a2dissite yourdomain.tld

replace yourdomain.tld with the domain of that site and restart apache. Then login into ispconfig and check the website settings, especially that there is a unique IP address is assigned to that site and not * and that this IP is not used for another ssl website.

hitri 29th August 2011 12:54

I got:

ERROR: Site mydomain.si does not exist!

I tried with

a2dissite default

got this:

Site default disabled.

Reload apache, still nothing

hitri 29th August 2011 19:00

I have to add vhost:

a2dissite mydomaine.si.vhost

now Ispconfig works, but I can not create certificate :(

till 29th August 2011 20:27

I explained the next steps that you should do to solve the problem above.

hitri 30th August 2011 08:51

I did like you explain. When I press Save button with SSL Action 'Create certificate', window closes. When I open site again, there is no certificate.

till 30th August 2011 09:37

Please check the details that you entered in the ssl certificate fields and ensure that they dont cntain any special characters or umlauts as this might cause openssl to fail to create the ssl cert.

hitri 31st August 2011 13:36

Now manage to make certificate, but browser get me:

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)


All times are GMT +2. The time now is 09:00.

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