• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question About updating certificate of Let's Encrypt

Zoo3

Regular Pleskian
I use an application called Mattermost. Since this application can not be managed by Plesk and made it function, nginx etc directly edit nginx.conf and operate Mattermost. But Let's Encrypt uses Plesk's Let's Encrypt. *It is not externally installing it separately.
The program itself is put in a different place by proxy_pass and port. That is outside the site.


In this state Let's Encrypt certificate can not be updated.
" Error: Could not issue Let's Encrypt SSL/TLS certificate of SITE-URL.
You can not use an authentication token with SITE-URL/TOKEN.
In order to solve this problem, please be able to download the TOKEN file from the above URL."
I will display "404 Not found" when accessing that site. When I look at the server, the file itself exists in that location.


I tried the troubleshooting below, but I could not.
Troubleshooting failed Let's Encrypt certificate installation on Plesk domain

It could not be done by the following method either.
I wrote the following in nginx.conf or Plesk's nginx additional directive.
# ACME challenge
location ^~ /.well-known {
allow all;
default_type "text/plain";
try_files $uri =404;
}
location ^~ /.well-known/acme-challenge/ {
allow all;
}

It is my imagination. I think this is an event unique to using Plesk. When trying to check a well-known directory, will it be redirected to Mattermost(place)?

Is there a way to update the certificate?
 
After that I understood. I disabled the permanent 301 redirect setting in Plesk's hosting settings, and it was possible to automatically update the Let's Encrypt certificate.
About this permanent 301 redirect. If this setting can't be done, the user is required to input "https://".
Is there a workaround for this?
 
Back
Top