An unexpected error occurred (can you help me fix?)

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:
90daysofdance.com

I ran this command:
sudo letsencrypt --apache -d 90daysofdance.com --email {my email address}

It produced this output:

An unexpected error occurred
StopIteration

My web server is (include version):
Apache 2.4.18

The operating system my web server runs on is (include version):
Ubuntu 16.04

My hosting provider, if applicable, is: Digital Ocean

I can login to a root shell on my machine (yes or no, or I don’t know): Yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): Also have webmin, but been doing this manually

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): 0.31.0

It’s entirely possible I once tried installing letsencrypt in the past and there’s still junk. But I went through the procedures here and it didn’t fully clean things up. I’m pretty much stuck for now. All I want to do is completely remove all of the Let’s Encrypt install so I can run it again and have it properly setup the Apache virtual servers, etc.

Thanks!

1 Like

Let’s start with what certs you have and the domain names they cover:
certbot certificates
then let’s also look at what sites you have and the domains they serve:
apachectl -S

1 Like
> certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Found the following certs:
  Certificate Name: [90daysofdance.com](http://90daysofdance.com)
    Domains: [90daysofdance.com](http://90daysofdance.com)
    Expiry Date: 2020-08-12 20:12:18+00:00 (VALID: 89 days)
    Certificate Path: /etc/letsencrypt/live/[90daysofdance.com/fullchain.pem](http://90daysofdance.com/fullchain.pem)
    Private Key Path: /etc/letsencrypt/live/[90daysofdance.com/privkey.pem](http://90daysofdance.com/privkey.pem)
  Certificate Name: [stitchditch.com](http://stitchditch.com)
    Domains: [stitchditch.com](http://stitchditch.com)
    Expiry Date: 2020-08-12 19:31:51+00:00 (VALID: 89 days)
    Certificate Path: /etc/letsencrypt/live/[stitchditch.com/fullchain.pem](http://stitchditch.com/fullchain.pem)
    Private Key Path: /etc/letsencrypt/live/[stitchditch.com/privkey.pem](http://stitchditch.com/privkey.pem)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
apachectl -S
VirtualHost configuration:
*:443                  [stitchditch.com](http://stitchditch.com) (/etc/apache2/sites-enabled/stitchditch.com-le-ssl.conf:2)
*:80                   is a NameVirtualHost
         default server [90daysofdance.com](http://90daysofdance.com) (/etc/apache2/sites-enabled/90daysofdance.com.conf:1)
         port 80 namevhost [90daysofdance.com](http://90daysofdance.com) (/etc/apache2/sites-enabled/90daysofdance.com.conf:1)
                 wild alias *.[90daysofdance.com](http://90daysofdance.com)
         port 80 namevhost [authorpower.com](http://authorpower.com) (/etc/apache2/sites-enabled/authorpower.com.conf:1)
                 wild alias *.[authorpower.com](http://authorpower.com)
         port 80 namevhost [componentnet.com](http://componentnet.com) (/etc/apache2/sites-enabled/componentnet.com.conf:1)
                 wild alias *.[componentnet.com](http://componentnet.com)
         port 80 namevhost [computingunplugged.com](http://computingunplugged.com) (/etc/apache2/sites-enabled/computingunplugged.conf:1)
                 wild alias *.[computingunplugged.com](http://computingunplugged.com)
         port 80 namevhost [connectedphotographer.com](http://connectedphotographer.com) (/etc/apache2/sites-enabled/connectedphotographer.com.conf:1)
                 wild alias *.[connectedphotographer.com](http://connectedphotographer.com)
         port 80 namevhost [dominopower.com](http://dominopower.com) (/etc/apache2/sites-enabled/dominopower.com.conf:1)
                 wild alias *.[dominopower.com](http://dominopower.com)
         port 80 namevhost [outlookpower.com](http://outlookpower.com) (/etc/apache2/sites-enabled/outlookpower.com.conf:1)
                 wild alias *.[outlookpower.com](http://outlookpower.com)
         port 80 namevhost [stitchditch.com](http://stitchditch.com) (/etc/apache2/sites-enabled/stitchditch.com.conf:1)
                 wild alias *.[stitchditch.com](http://stitchditch.com)
         port 80 namevhost [webspherepower.com](http://webspherepower.com) (/etc/apache2/sites-enabled/webspherepower.com.conf:1)
                 wild alias *.[webspherepower.com](http://webspherepower.com)
         port 80 namevhost [zatzonline.com](http://zatzonline.com) (/etc/apache2/sites-enabled/zatzonline.com.conf:1)
                 wild alias *.[zatzonline.com](http://zatzonline.com)
         port 80 namevhost [zdecade.com](http://zdecade.com) (/etc/apache2/sites-enabled/zdecade.com.conf:1)
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www/html"
Main ErrorLog: "/var/log/apache2/error.log"
Mutex default: dir="/var/lock/apache2" mechanism=fcntl
Mutex mpm-accept: using_defaults
Mutex watchdog-callback: using_defaults
Mutex rewrite-map: using_defaults
Mutex ssl-stapling-refresh: using_defaults
Mutex ssl-stapling: using_defaults
Mutex proxy: using_defaults
Mutex ssl-cache: using_defaults
PidFile: "/var/run/apache2/apache2.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name="www-data" id=33
Group: name="www-data" id=33

ZDECADE is working fine, running a Webmin script. And STITCHDITCH.COM is also running fine.

Thanks!

1 Like

What was the rest of Certbot’s output?

Can you post the traceback from /var/log/letsencrypt/? It should be near the bottom of letsencrypt.log.

1 Like

Please provide these three things:

To see why certbot fails to work for this domain…
We should have a look at this file:
[#1] cat /etc/apache2/sites-enabled/90daysofdance.com.conf
And probably also the contents of any related files within this other folder:
[#2] ls -l /etc/apache2/sites-available/
[#3] grep -i 90days /etc/apache2/sites-available/*

1 Like

2020-05-15 01:48:36,986:DEBUG:acme.client:Storing nonce: 0001LXVl8qKIbma6nYOYkn3VDnUNgrOMBSrKw1JbYN1Ui7I
2020-05-15 01:48:37,005:DEBUG:certbot.storage:Archive directory /etc/letsencrypt/archive/componentnet.com and live directory /etc/letsencrypt/live/componentnet.com created.
2020-05-15 01:48:37,005:DEBUG:certbot.storage:Writing certificate to /etc/letsencrypt/live/componentnet.com/cert.pem.
2020-05-15 01:48:37,006:DEBUG:certbot.storage:Writing private key to /etc/letsencrypt/live/componentnet.com/privkey.pem.
2020-05-15 01:48:37,006:DEBUG:certbot.storage:Writing chain to /etc/letsencrypt/live/componentnet.com/chain.pem.
2020-05-15 01:48:37,006:DEBUG:certbot.storage:Writing full chain to /etc/letsencrypt/live/componentnet.com/fullchain.pem.
2020-05-15 01:48:37,006:DEBUG:certbot.storage:Writing README to /etc/letsencrypt/live/componentnet.com/README.
2020-05-15 01:48:37,021:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache
2020-05-15 01:48:37,038:DEBUG:certbot.cli:Var installer=apache (set by user).
2020-05-15 01:48:37,052:DEBUG:certbot.cli:Var authenticator=apache (set by user).
2020-05-15 01:48:37,057:DEBUG:certbot.storage:Writing new config /etc/letsencrypt/renewal/componentnet.com.conf.
2020-05-15 01:48:37,060:DEBUG:certbot.reporter:Reporting to user: Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/componentnet.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/componentnet.com/privkey.pem
Your cert will expire on 2020-08-13. To obtain a new or tweaked version of this certificate in the future, simply run certbot again with the “certonly” option. To non-interactively renew all of your certificates, run “certbot renew”
2020-05-15 01:48:37,063:DEBUG:certbot.reverter:Creating backup of /etc/apache2/sites-available/componentnet.com-le-ssl.conf
2020-05-15 01:48:37,065:DEBUG:certbot.error_handler:Encountered exception:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/certbot/client.py”, line 516, in deploy_certificate
fullchain_path=fullchain_path)
File “/usr/lib/python3/dist-packages/certbot_apache/configurator.py”, line 334, in deploy_cert
vhosts = self.choose_vhosts(domain)
File “/usr/lib/python3/dist-packages/certbot_apache/configurator.py”, line 358, in choose_vhosts
return [self.choose_vhost(domain, create_if_no_ssl)]
File “/usr/lib/python3/dist-packages/certbot_apache/configurator.py”, line 540, in choose_vhost
vhost = self.make_vhost_ssl(vhost)
File “/usr/lib/python3/dist-packages/certbot_apache/configurator.py”, line 1116, in make_vhost_ssl
self._copy_create_ssl_vhost_skeleton(nonssl_vhost, ssl_fp)
File “/usr/lib/python3/dist-packages/certbot_apache/configurator.py”, line 1260, in _copy_create_ssl_vhost_skeleton
ssl_vh_contents, sift = self._sift_rewrite_rules(orig_contents)
File “/usr/lib/python3/dist-packages/certbot_apache/configurator.py”, line 1332, in _sift_rewrite_rules
line = next(contents)
StopIteration

2020-05-15 01:48:37,065:DEBUG:certbot.error_handler:Calling registered functions
2020-05-15 01:48:37,066:DEBUG:certbot.reporter:Reporting to user: Unable to install the certificate
2020-05-15 01:48:37,067:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File “/usr/bin/letsencrypt”, line 11, in
load_entry_point(‘certbot==0.31.0’, ‘console_scripts’, ‘certbot’)()
File “/usr/lib/python3/dist-packages/certbot/main.py”, line 1365, in main
return config.func(config, plugins)
File “/usr/lib/python3/dist-packages/certbot/main.py”, line 1126, in run
_install_cert(config, le_client, domains, new_lineage)
File “/usr/lib/python3/dist-packages/certbot/main.py”, line 760, in _install_cert
path_provider.cert_path, path_provider.chain_path, path_provider.fullchain_path)
File “/usr/lib/python3/dist-packages/certbot/client.py”, line 516, in deploy_certificate
fullchain_path=fullchain_path)
File “/usr/lib/python3/dist-packages/certbot_apache/configurator.py”, line 334, in deploy_cert
vhosts = self.choose_vhosts(domain)
File “/usr/lib/python3/dist-packages/certbot_apache/configurator.py”, line 358, in choose_vhosts
return [self.choose_vhost(domain, create_if_no_ssl)]
File “/usr/lib/python3/dist-packages/certbot_apache/configurator.py”, line 540, in choose_vhost
vhost = self.make_vhost_ssl(vhost)
File “/usr/lib/python3/dist-packages/certbot_apache/configurator.py”, line 1116, in make_vhost_ssl
self._copy_create_ssl_vhost_skeleton(nonssl_vhost, ssl_fp)
File “/usr/lib/python3/dist-packages/certbot_apache/configurator.py”, line 1260, in _copy_create_ssl_vhost_skeleton
ssl_vh_contents, sift = self._sift_rewrite_rules(orig_contents)
File “/usr/lib/python3/dist-packages/certbot_apache/configurator.py”, line 1332, in _sift_rewrite_rules
line = next(contents)
StopIteration
2020-05-15 01:48:37,067:ERROR:certbot.log:An unexpected error occurred:
2020-05-15 09:12:58,618:DEBUG:certbot.main:certbot version: 0.31.0
2020-05-15 09:12:58,620:DEBUG:certbot.main:Arguments: [’-q’]
2020-05-15 09:12:58,620:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2020-05-15 09:12:58,631:DEBUG:certbot.log:Root logging level set at 30
2020-05-15 09:12:58,632:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2020-05-15 09:12:58,670:DEBUG:certbot.plugins.selection:Requested authenticator <certbot.cli._Default object at 0x7f6cd8f0ccf8> and installer <certbot.cli._Default object at 0x7f6cd8f0ccf8>
2020-05-15 09:12:58,680:INFO:certbot.renewal:Cert not yet due for renewal
2020-05-15 09:12:58,681:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache
2020-05-15 09:12:58,681:DEBUG:certbot.plugins.selection:Selecting plugin: * apache
Description: Apache Web Server plugin
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT
Initialized: <certbot_apache.override_debian.DebianConfigurator object at 0x7f6cd8fbbf60>
2020-05-15 09:12:58,683:DEBUG:certbot.plugins.storage:Plugin storage file /etc/letsencrypt/.pluginstorage.json was empty, no values loaded
2020-05-15 09:12:58,686:INFO:certbot.renewal:Cert not yet due for renewal
2020-05-15 09:12:58,687:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache
2020-05-15 09:12:58,687:DEBUG:certbot.plugins.selection:Selecting plugin: * apache
Description: Apache Web Server plugin
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT
Initialized: <certbot_apache.override_debian.DebianConfigurator object at 0x7f6cd8f09320>
2020-05-15 09:12:58,687:DEBUG:certbot.plugins.storage:Plugin storage file /etc/letsencrypt/.pluginstorage.json was empty, no values loaded
2020-05-15 09:12:58,691:INFO:certbot.renewal:Cert not yet due for renewal
2020-05-15 09:12:58,692:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache
2020-05-15 09:12:58,692:DEBUG:certbot.plugins.selection:Selecting plugin: * apache
Description: Apache Web Server plugin
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT
Initialized: <certbot_apache.override_debian.DebianConfigurator object at 0x7f6cd8f0c0b8>
2020-05-15 09:12:58,693:DEBUG:certbot.plugins.storage:Plugin storage file /etc/letsencrypt/.pluginstorage.json was empty, no values loaded
2020-05-15 09:12:58,693:DEBUG:certbot.renewal:no renewal failures
2020-05-15 13:10:39,382:DEBUG:certbot.main:certbot version: 0.31.0
2020-05-15 13:10:39,383:DEBUG:certbot.main:Arguments: [’-q’]
2020-05-15 13:10:39,384:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2020-05-15 13:10:39,404:DEBUG:certbot.log:Root logging level set at 30
2020-05-15 13:10:39,405:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2020-05-15 13:10:39,450:DEBUG:certbot.plugins.selection:Requested authenticator <certbot.cli._Default object at 0x7f8cdb6dbcf8> and installer <certbot.cli._Default object at 0x7f8cdb6dbcf8>
2020-05-15 13:10:39,461:INFO:certbot.renewal:Cert not yet due for renewal
2020-05-15 13:10:39,462:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache
2020-05-15 13:10:39,463:DEBUG:certbot.plugins.selection:Selecting plugin: * apache
Description: Apache Web Server plugin
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT
Initialized: <certbot_apache.override_debian.DebianConfigurator object at 0x7f8cdb7914e0>
2020-05-15 13:10:39,464:DEBUG:certbot.plugins.storage:Plugin storage file /etc/letsencrypt/.pluginstorage.json was empty, no values loaded
2020-05-15 13:10:39,468:INFO:certbot.renewal:Cert not yet due for renewal
2020-05-15 13:10:39,468:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache
2020-05-15 13:10:39,469:DEBUG:certbot.plugins.selection:Selecting plugin: * apache
Description: Apache Web Server plugin
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT
Initialized: <certbot_apache.override_debian.DebianConfigurator object at 0x7f8cdb6d8be0>
2020-05-15 13:10:39,469:DEBUG:certbot.plugins.storage:Plugin storage file /etc/letsencrypt/.pluginstorage.json was empty, no values loaded
2020-05-15 13:10:39,473:INFO:certbot.renewal:Cert not yet due for renewal
2020-05-15 13:10:39,474:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache
2020-05-15 13:10:39,474:DEBUG:certbot.plugins.selection:Selecting plugin: * apache
Description: Apache Web Server plugin
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT
Initialized: <certbot_apache.override_debian.DebianConfigurator object at 0x7f8cdb6db8d0>
2020-05-15 13:10:39,475:DEBUG:certbot.plugins.storage:Plugin storage file /etc/letsencrypt/.pluginstorage.json was empty, no values loaded
2020-05-15 13:10:39,475:DEBUG:certbot.renewal:no renewal failures

90daysofdance.conf:

<VirtualHost *:80>
DocumentRoot “/var/www/html/90daysofdance”
ServerName 90daysofdance.com
ServerAlias .90daysofdance.com
<Directory “/var/www/html/90daysofdance”>
Options FollowSymLinks
AllowOverride All
Require all granted
Require all granted

RewriteEngine on
RewriteCond %{SERVER_NAME} =
.90daysofdance.com [OR]
RewriteCond %{SERVER_NAME} =90daysofdance.com

> ls -l /etc/apache2/sites-available/
total 100
-rw-r--r-- 1 root     root      768 Mar 31  2017 000-default-le-ssl.conf
-rw-rw-r-- 1 www-data www-data 1332 Mar 19  2016 000-default.conf.dpkg-dist
-rw-r--r-- 1 root     root       33 May 14 20:51 90daysofdance.com-le-ssl.conf
-rw-r--r-- 1 root     root      398 May 14 20:55 90daysofdance.com.conf
-rw-r--r-- 1 root     root       33 May 14 20:51 authorpower.com-le-ssl.conf
-rw-r--r-- 1 root     root      390 May 14 20:54 authorpower.com.conf
-rw-r--r-- 1 root     root       33 May 14 20:51 componentnet.com-le-ssl.conf
-rw-r--r-- 1 root     root      397 May 14 20:53 componentnet.com.conf
-rw-r--r-- 1 root     root       33 May 14 20:51 computingunplugged-le-ssl.conf
-rw-r--r-- 1 root     root      429 May 14 20:52 computingunplugged.conf
-rw-r--r-- 1 root     root       33 May 14 20:51 connectedphotographer.com-le-ssl.conf
-rw-r--r-- 1 root     root      449 May 14 20:56 connectedphotographer.com.conf
-rw-r--r-- 1 www-data www-data 6338 Apr  5  2016 default-ssl.conf
-rw-r--r-- 1 root     root       33 May 14 20:51 dominopower.com-le-ssl.conf
-rw-r--r-- 1 root     root      378 May 14 20:56 dominopower.com.conf
-rw-r--r-- 1 root     root       33 May 14 20:51 outlookpower.com-le-ssl.conf
-rw-r--r-- 1 root     root      364 May 14 20:56 outlookpower.com.conf
-rw-r--r-- 1 root     root      484 May 14 20:31 stitchditch.com-le-ssl.conf
-rw-r--r-- 1 root     root      442 May 14 20:32 stitchditch.com.conf
-rw-r--r-- 1 root     root       33 May 14 20:51 webspherepower.com-le-ssl.conf
-rw-r--r-- 1 root     root      407 May 14 20:57 webspherepower.com.conf
-rw-r--r-- 1 root     root       33 May 14 20:51 zatzonline.com-le-ssl.conf
-rw-r--r-- 1 root     root      395 May 14 20:57 zatzonline.com.conf
-rw-r--r-- 1 root     root      173 Mar 31  2017 zdecade.com.conf
> grep -i 90days /etc/apache2/sites-available/*
/etc/apache2/sites-available/90daysofdance.com.conf:DocumentRoot "/var/www/html/90daysofdance"
/etc/apache2/sites-available/90daysofdance.com.conf:ServerName [90daysofdance.com](http://90daysofdance.com)
/etc/apache2/sites-available/90daysofdance.com.conf:  ServerAlias *.[90daysofdance.com](http://90daysofdance.com)
/etc/apache2/sites-available/90daysofdance.com.conf:<Directory "/var/www/html/90daysofdance">
/etc/apache2/sites-available/90daysofdance.com.conf:RewriteCond %{SERVER_NAME} =*.[90daysofdance.com](http://90daysofdance.com) [OR]
/etc/apache2/sites-available/90daysofdance.com.conf:RewriteCond %{SERVER_NAME} =[90daysofdance.com](http://90daysofdance.com)

And, while we’re at it, 90daysofdance.com-le-ssl.conf is:

Thanks!

There are two files:

But only one contains "90days"

That seems very odd.

Please show the other file:
cat /etc/apache2/sites-available/90daysofdance.com-le-ssl.conf

90daysofdance.com-le-ssl.conf is:

That’s it. That’s all that’s in there.

Then please delete that empty file and try your renewal again.
rm /etc/apache2/sites-available/90daysofdance.com-le-ssl.conf

I get this back:

You have an existing certificate that has exactly the same domains or certificate name you requested and isn't close to expiry.
(ref: /etc/letsencrypt/renewal/90daysofdance.com.conf)

What would you like to do?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: Attempt to reinstall this existing certificate
2: Renew & replace the cert (limit ~5 per 7 days)

Should I attempt ot reinstall?

1 Like

Yes, #1

1 Like

That didn’t work. I got:
File:

  • Could not be found to be deleted /etc/apache2/sites-available/90daysofdance.com-le-ssl.conf - Certbot probably shut down unexpectedly

An unexpected error occurred:

StopIteration

Please see the logfiles in /var/log/letsencrypt for more details.

IMPORTANT NOTES

  • Unable to install the certificate

  • Congratulations! You certificate and chain have been saved at:

/etc/letsencrypt/live/90daysofdance.com/privkey.pem

1 Like

Something doesn’t add up…
Please show:
find / -name 90days*
and
grep -Ri 90days /etc/apache2/
and
grep -Ri 90days /etc/letsencrypt/

1 Like
> find / -name 90days*
/var/www/html/90daysofdance
/var/lib/letsencrypt/backups/1589488607.6636462/90daysofdance.com.conf_6
/var/lib/letsencrypt/backups/1589488603.0979338/90daysofdance.com-le-ssl.conf_6
/var/lib/mysql/90daysofdance
/etc/apache2/sites-available/90daysofdance.com.conf
/etc/apache2/sites-enabled/90daysofdance.com.conf
/etc/apache2/sites-enabled/90daysofdance.com-le-ssl.conf
/etc/letsencrypt/renewal/90daysofdance.com.conf
/etc/letsencrypt/live/[90daysofdance.com](http://90daysofdance.com)
/etc/letsencrypt/archive/[90daysofdance.com](http://90daysofdance.com)
1 Like

Please remove this file:
rm /etc/apache2/sites-enabled/90daysofdance.com-le-ssl.conf

rm /etc/apache2/sites-enabled/90daysofdance.com-le-ssl.conf

This file does not exist in the sites-available directory. I did not have to remove it. I was asked to remove it earlier, which I did, but was still unable to establish SSL.

> ls -l /etc/apache2/sites-available
total 96
-rw-r--r-- 1 root     root      768 Mar 31  2017 000-default-le-ssl.conf
-rw-rw-r-- 1 www-data www-data 1332 Mar 19  2016 000-default.conf.dpkg-dist
-rw-r--r-- 1 root     root      398 May 14 20:55 90daysofdance.com.conf
-rw-r--r-- 1 root     root       33 May 14 20:51 authorpower.com-le-ssl.conf
-rw-r--r-- 1 root     root      390 May 14 20:54 authorpower.com.conf
-rw-r--r-- 1 root     root       33 May 14 20:51 componentnet.com-le-ssl.conf
-rw-r--r-- 1 root     root      397 May 14 20:53 componentnet.com.conf
-rw-r--r-- 1 root     root       33 May 14 20:51 computingunplugged-le-ssl.conf
-rw-r--r-- 1 root     root      429 May 14 20:52 computingunplugged.conf
-rw-r--r-- 1 root     root       33 May 14 20:51 connectedphotographer.com-le-ssl.conf
-rw-r--r-- 1 root     root      449 May 14 20:56 connectedphotographer.com.conf
-rw-r--r-- 1 www-data www-data 6338 Apr  5  2016 default-ssl.conf
-rw-r--r-- 1 root     root       33 May 14 20:51 dominopower.com-le-ssl.conf
-rw-r--r-- 1 root     root      378 May 14 20:56 dominopower.com.conf
-rw-r--r-- 1 root     root       33 May 14 20:51 outlookpower.com-le-ssl.conf
-rw-r--r-- 1 root     root      364 May 14 20:56 outlookpower.com.conf
-rw-r--r-- 1 root     root      484 May 14 20:31 stitchditch.com-le-ssl.conf
-rw-r--r-- 1 root     root      442 May 14 20:32 stitchditch.com.conf
-rw-r--r-- 1 root     root       33 May 14 20:51 webspherepower.com-le-ssl.conf
-rw-r--r-- 1 root     root      407 May 14 20:57 webspherepower.com.conf
-rw-r--r-- 1 root     root       33 May 14 20:51 zatzonline.com-le-ssl.conf
-rw-r--r-- 1 root     root      395 May 14 20:57 zatzonline.com.conf
-rw-r--r-- 1 root     root      173 Mar 31  2017 zdecade.com.conf
1 Like

Correct.
But there exists a file (or link) in the sites-enabled directory that must be removed.

1 Like

Okay, I made sure it wasn’t in both sites-enabled and sites-activated (thanks for clarifying that). But I’m still getting the error, claiming 90daysofdance.com-le-ssl.conf This file does not exist in the sites-available directory (which it doesn’t). But I can’t activate Let’s Encrypt.

1 Like
1 Like