Hey guys,
i’m running nextcloud on my raspberry pi and it worked fine just until a few days ago the Let’s Encrypt certificate expired. I’m not able to reach my cloud in a browser, firefox gives me the following error code: SEC_ERROR_EXPIRED_CERTIFICATE. But i can reach my cloud with the desktop and smartphone app, so its still working.
If i’m trying to renew the certificate on my raspberry it gives me this:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for powercloud.spdns.de
Waiting for verification…
Cleaning up challenges
Attempting to renew cert (powercloud.spdns.de) from /etc/letsencrypt/renewal/powercloud.spdns.de.conf produced an unexpected error: Failed authorization procedure. powercloud.spdns.de (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from https://powercloud.spdns.de/.well-known/acme-challenge/yIjjuFB_pGIMY2mMh8DFnWpTLlc3t32ujH0742ONUMA [31.16.75.132]: “\r\n403 Forbidden\r\n<body bgcolor=“white”>\r\n
403 Forbidden
\r\n”. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/powercloud.spdns.de/fullchain.pem (failure)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/powercloud.spdns.de/fullchain.pem (failure)
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 have no idea what to do, the IP adress is correct.
I hope you can help me
Seems about right for me but i’m not quite sure. How do i check if the permissions are correct and where exactly do i place the file 1234 to be able to access it online? And just to understand, what do i gain with creating the file? To check if i can reach my cloud?
Thanks for your help
Okay, thanks for your answer.
I removed the comma, but that didn’t changed a thing. Then i created the file “1234” which i can’t reach in my browser due to a possible security-problem as firefox tells me. I get the same screen when i want to reach my cloud normally, saying that there’s a certificate missing : “SEC_ERROR_EXPIRED_CERTIFICATE”.
I’m just curius why i simply cant renew my certificate, the cloud just worked fine before it expired.
Sorry i’m writing late, i was on vacation.
So there is a wrong configuration but what can i do to fix it?
Is there a way to see where exactly the error is located and what caused it?
Okay so I experimented a bit, updated my raspberry and suddenly i was able to renew the certificate. I dont know what exactly the problem was but after restarting nginx everything just worked fine. So thanks for your answers and your help guys!