Let’s encrypt Apache installation problem (Ubuntu 14.04)

Let’s encrypt is a cool initiative that provides free SSL certificates to enable https everywhere.

To make the certificate installation process as painless as possible, they provide automated tools for many OSes.

Download their tool, run it on your Apache server and you have https without those scary warnings that we get with unpaid SSL certificates.

Their tool mostly works. Running certbot-auto on Ubuntu 14.04 gave me the error below:

Error in checking parameter list: AH00526: Syntax error on line 115 of /etc/apache2/sites-enabled/000-default-le-ssl.conf:
SSLCertificateFile: file ‘/etc/apache2/insert_cert_file_path’ does not exist or is empty

The solution is to enable the Apache SSL module before running certbot-auto.

a2enmod ssl
./certbot-auto 

After doing this, everything worked as expected.

Credit: https://github.com/certbot/certbot/issues/1328

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s