Category Archives: Apache

Letsencrypt error – Server only speaks HTTP, not TLS

If you have encountered following error, Domain: xxx.xxx.com 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 www.website.com:80> ServerAdmin root@localhost DocumentRoot /var/www/website/www_website_com/ ServerName www.website.com ServerAlias www.website.com ErrorLog /var/www/website/logs/www.website.com.error_log CustomLog /var/www/website/logs/www.website.com.access_log 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 ...