Created cert with error - need to recreate. Rails Apache


#1

On an Ubuntu 14.10 server I created certs with the letsencrypt-auto tool following the guide here: https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-14-04

After I entered this command

$./letsencrypt-auto --apache -d example.com -d www.example.com

I was given the option of choosing between a couple of .conf files. I chose the wrong one and now \http://example.com points to my rails app [served up with Apache, via Passenger] and \https://example.com points to the default Ubuntu Apache page.

What can i do?


#2

You can use ./letsencrypt-auto rollback to revert the latest config change made by the client.

Add --checkpoints N if you need to revert further back (i.e. if you ran the client multiple times).

Afterwards, you should be able to re-run the --apache command and pick the right .conf file.

(PSA: Your Ubuntu version is EOL’d. :blush: )


#3

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