Category Archives: Apache

Letsencrypt error – Server only speaks HTTP, not TLS

If you have encountered following error, Domain: Type: malformed Detail: Failed to connect to xxx:443 for tls-sni-01 challenge: Server only speaks HTTP, not TLS Make sure you have following lines in your Apache virtual host conf file SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key Include /etc/letsencrypt/options-ssl-apache.conf

Read More »

Virtualhost code in Apache

<VirtualHost> ServerAdmin root@localhost DocumentRoot /var/www/website/www_website_com/ ServerName ServerAlias ErrorLog /var/www/website/logs/ CustomLog /var/www/website/logs/ common <Directory /var/www/website/www_website_com/> AllowOverride All Order allow,deny Allow from all Require all granted </Directory> </VirtualHost>

Read More »

error: Uh oh ...