Community

Manage SSL & certbot renew not working: no .well-known directory present

ro
romain #1

Hello! I wonder what I shall do as there is no .well-known directory after running Manage SSL & certbot renew ? I have got a many websites down…
Shall I run certbot -d for the domains without .well-known

ro
romain #2

It had the .well-known directory and now it is gone.

us
usmannasir #3

You can create .well-known inside public_html

ro
romain #4

OK I created the folder but running Manage SSL & certbot renew are not performing the certificate. DNS are OK.

us
usmannasir #5

What is the output of certbot renew on the command line?

ro
romain #6

All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/denisdraw.fr/fullchain.pem (failure)
/etc/letsencrypt/live/voyages.alpha-top-depart.com/fullchain.pem (failure)
/etc/letsencrypt/live/xn–picerie-bourges-market-97b.fr/fullchain.pem (failure)
/etc/letsencrypt/live/association.lesjardinierssolidaires.org/fullchain.pem (failure)

4 renew failure(s), 0 parse failure(s)

IMPORTANT NOTES:

ro
romain #7

1st is an added domain in a domain
2nd is a WP multisite
3rd is a subdomain www site in iframe for the main domain
Last one is deleted site, but vhost remains.
The most urgent is the second one.

ro
romain #8

I guess I can :
1, backup the added domain in a standalone site
2, backup the wp multisite, delete and re-create it
3, DNS alias
4, connect to :7080 and suppress the vhost
Or is there an explanation

us
usmannasir #9

I see that it is reporting 404 for some domains, and some other errors. Try backing up rewrite rules, so that verification files can be accessed.

You can re-add rewrite rules later.

ro
romain #10

I tried to remove the rewrite rules, but fails to renew cert.
If there is no cert in the folder it may be normal for it. How can I recreate it ? certbot certonly -d ?
It is about WP multisite that I need it and I don’t know what to do.
Or can I revoke it in order to make the site public ?

us
usmannasir #11
I tried to remove the rewrite rules, but fails to renew cert. If there is no cert in the folder it may be normal for it. How can I recreate it ? certbot certonly -d ? It is about WP multisite that I need it and I don't know what to do. Or can I revoke it in order to make the site public ?

This is an interesting case, submit a ticket, I would like to have a look.

ro
romain #12

Yep. I tried the method to replace the database to move it to http:// with : SELECT * FROM wp_options WHERE option_name=‘siteurl’ OR option_name=‘home’;` and .htaccess and WP_HOME in wp-config but nothing make it goes unsecure http.

Sign in to reply