Why is this Apache2 SSL host bogging?


#1

I have a site at JSH.name, and I tried things out by using Let’s Encrypt to a test case allowing new HTTPS access to that site alongside old HTTP access. I wrote, uncommented except for the lines with two hashes:

#<VirtualHost *:443>
    #ServerAdmin cjshayward@pobox.com
    #DocumentRoot /home/jonathan/stornge
    #SSLEngine On
    #SSLCertificateFile /etc/apache2/ssl/0000_csr-letsencrypt.pem
    #SSLCertificateKeyFile /etc/apache2/ssl/0000_key-letsencrypt.pem
    #ServerName jsh.name
    #ServerAlias www.jsh.name
    #LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined
    #CustomLog /home/jonathan/logs/stornge.com combined
    #RewriteEngine on
    #RewriteRule ^/linkedin/?$ http://www.linkedin.com/in/jonathanhayward [R=301,L]
    #RewriteRule ^/([^?].*)$ http://stornge.com/?$1 [R=301,L]
    ##RewriteRule ^.*/writings/autobiography/(.*)$ /about/author/ [R=301,L]
    ##RewriteRule ^/tiki.*$ http://www.facebook.com/pages/CJS-Hayward/9506801167 [R=301,L]
    ##RewriteRule ^/community/tiki.*$ http://www.facebook.com/pages/CJS-Hayward/9506801167 [R=301,L]
    #<Directory /home/jonathan/stornge/>
        #Options ExecCGI Indexes FollowSymLinks MultiViews
        #AllowOverride None
        #Order allow,deny
        #allow from all
    #</Directory>
#<VirtualHost>

When I rebooted and tried to load the site under HTTP and HTTPS, and also https://CJSHayward.com (all served from the same server), all connections hung until I commented out the code above and restarted.

Advice?

-Jonathan


#2

https://cjshayward.com/ is working at the moment ( with a different SSL cert ). What’s the current config for that ? and what happens if you just change the path to the LE certs ?

The other way would be - what errors are you getting in the log files when you had it as above ?


#3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.