Auto renew failing

I have letsencrypt setup on a server for testing. I have apache setup to forward all http traffic to https. Unfortunately letsencrypt renewal script attempts to renew the certificate with a http request and fails. Can someone give me an idea of how I can address this? Thanks!

letsencrypt should follow the forwards. What specific error are you getting on renewal ?

404 error

Why does the forum require 20 characters? Had to type this to get the answer posted…odd?

if you add a file in your webroot/.well-known/acme-challenge/test

can you reach it in your browser at yourdomain/.well-known/acme-challenge/test ?

Typically, something like curl -i http://example.com/.well-known/acme-challenge/test will show you where things go wrong with the redirect (sometimes, it’s a missing / in the rewrite, etc.)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.