Created cert with error - need to recreate. Rails Apache

On an Ubuntu 14.10 server I created certs with the letsencrypt-auto tool following the guide here:

After I entered this command

$./letsencrypt-auto --apache -d -d

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

What can i do?

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: )

1 Like

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