|
Hello!! I've been using nextcloud aio for a few months now and I believe my SSL certificate expired. It appears the apache container is attempting to renew the certificate but the connection is being refused. Any suggestions on how to fix this? PS The performance on these containers is amazing, great work!! |
Replies: 7 comments 8 replies
|
Hi, I cannot reproduce your problem unfortunately. Are you maybe using Cloudflare anywhere? |
|
I was able to fix the issue, by temporarily disabling the proxy feature on cloud flare. Once I disabled it, I then rebooted the apache container and it was able to generate a certificate. Thanks for pointing me in the right direction @szaimen !! |
|
I use Cloudflare, and have the same problem. Temporarily turning off Cloudflare proxying and restarting the Apache container also worked for me. But it'd be better to have a long-term solution than have to do this every 90 days (the duration of a LetsEncrypt certificate). Here's what's logged for the Apache container. ... |
|
@szaimen But why is there nothing that can be done to fix it? I have many different HTTP applications that are behind Cloudflare proxies and which use LetsEncrypt and successfully auto-renew ..... it's only NextCloud that doesn't. So there's nothing specific to the Cloudflare/LetsEncrypt combination that means it can't work if done correctly. |
|
Having read https://letsencrypt.org/docs/challenge-types/ explains why |
|
Just wanted to chime in to say that I am up against the same issue - trying to use Nextcloud using a Cloudflare Tunnel. Tried all sorts of fixes, disabling Proxying doesn't seem to help. Tempted to ditch the entire idea and just spin up another VPS so I can get a new public IP address. |
|
2024 solution
|
I was able to fix the issue, by temporarily disabling the proxy feature on cloud flare. Once I disabled it, I then rebooted the apache container and it was able to generate a certificate.
Thanks for pointing me in the right direction @szaimen !!