Cheap Web Space, Domain Name: |
Question: |
|
Unfortunately nothing found on "".
in the United States (Chicago, IL): 1 (815) 526-7037, Fax (in Germany) +49 30 32 70 18 91
Skype: bitpalast
One moment please … your browser is loading the page.
Symptom
The Let's Encrypt SSL certificate can not be created with a 403 error, or certificate renewal fails with a 403 error, even though the certificate was previously installed without any problem.
Cause
To create or prolongate a certificate, Let's Encrypt writes a token file to the /.well-known/acme-challenge directory. This token is obtained over the Internet. This confirms that the host wishing to set up the certificate really does operate the domain for which the certificate is to be issued.
You use software or a plug-in to software that generates search engine friendly URLs with modRewrite rewrite rules in the .htacces file. It will also redirect all calls to files in the /.well-known/acme-challenge- path, so that the important technical files stored there, including the SSL tokens for SSL certificate renewal, are no longer accessible.
As a result, if Let's Encrypt wants to confirm the token, the website will return an "403 forbidden" error.
Solution
To allow access to the token, you must exclude the /.well-known/acme-challenge directory from any rewrite rules. To do this, add the following three lines to the beginning (important!) of your .htaccess file:
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/.well-known/acme-challenge [NC]
RewriteRule .* - [L]
These three lines ensure that no further rewrite rules will be processed whenever a file is retrieved from the path /.well-known/acme-challenge. This keeps files in this path available even if subsequent rewrite rules would actually redirect the request to another path or file or block its retrieval.
Overview of frequently asked questions
x0>
Additional ![]() |
---|
Starter Server: Affordable web server from 3.73 US$ () /month with PHP, database and many more
|
"Cheap Web Space": Affordable web space, cheap web server, low-cost webserver, low-price web servers: fast web server / small web server (cheap web space). Web server for private homepages / small website projects.
in the United States (Chicago, IL): 1 (815) 526-7037 •
GmbH, Sensburger Allee 27, D-14055 Berlin (Germany)
Your purchase is tax-free, because you order from a non-EU country. © 2024 GmbH. All rights reserved.
and the
logo are registered trademarks of
GmbH. For photo credits see imprint.