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: www.fagerstrandvel.no & fagerstrandvel.no
I ran this command:
It produced this output:
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is: GGP
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): No
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): certbot 0.28.0
I succesfully install letsencrypt cerificates after they ran out. Now Im trying to renew them since the auto renow cron job failed. But it fails.
Now I get: An unexpected error occurred:
There were too many requests of a given type :: Error creating new order :: too many failed authorizations recently
I tryied: sudo certbot renew
and get: Saving debug log to /var/log/letsencrypt/letsencrypt.log
Your http + "/" doesn't have a redirect to https. But your http + /.well-known/acme-challenge/random-filename redirects to https + "/", not https + /.well-known/acme-challenge/random-filename
So you have (minimal) two options:
remove the redirect http -> https of /.well-known/acme-challenge (or)
change the redirect, so the complete folder and filename is added (requires, that http and https use the same webroot)
But then running the command:
./certbot-auto certonly --webroot -w /opt/bitnami/apps/wordpress/htdocs/ -d fagerstrandvel.no -d www.fagerstrandvel.no
I still get error:
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for fagerstrandvel.no
http-01 challenge for www.fagerstrandvel.no
Using the webroot path /opt/bitnami/apps/wordpress/htdocs for all unmatched domains.
Waiting for verification…
Challenge failed for domain fagerstrandvel.no
Challenge failed for domain www.fagerstrandvel.no
http-01 challenge for fagerstrandvel.no
http-01 challenge for www.fagerstrandvel.no
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
\r\n”
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
I guess I do the remove the redirect http -> https of /.well-known/acme-challenge wrong.
Could someone guide me step-by-step or some more details.
I have no idea on how to:
So you have (minimal) two options:
remove the redirect http -> https of /.well-known/acme-challenge (or)
change the redirect, so the complete folder and filename is added (requires, that http and https use the same webroot)
No idea.
I made this change:
I have put the following in .htaccess:
RedirectMatch ^(?!/.well-known/acme-challenge/)(. )$ https://www.fagerstrandvel.no$1
RedirectMatch ^(?!/.well-known/acme-challenge/)(. )$ https://fagerstrandvel.no$1
Perhaps others can help - since I made this post til get help, not to ask if I have a problem.
Been trying for weeks, searching the community and internet for possible solutions.
Did also try:
RewriteCond %{HTTPS} !on
RewriteCond %{REQUEST_URI} “!/.well-known/acme-challenge/”
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
I think this is a forum formatting problem -- probably the original is something like RedirectMatch ^(?!/.well-known/acme-challenge/)(.*)$ but the forum software interpreted the * as a formatting command to italicize text, because it wasn't escaped. Therefore, this particular regular expression problem is probably not an issue here.
[quote=“Fagerstrand, post:13, topic:97060, full:true”]
Perhaps others can help - since I made this post til get help, not to ask if I have a problem.
Been trying for weeks, searching the community and internet for possible solutions. [/quote]
I would suggest zipping up and attaching your full httpd config. (Barring any kind of passwords of course.) I suspect something else is getting in the way of the redirect that you keep banging your head against, maybe even another server above or below it that might be stealing views.