Can't renew certificate; redirect loop detected

Well I can't find a real reason why this failed when using --standalone mode in the logs.

2 Likes

Would you like trying to renew while using nginx instead?

2 Likes

That would be nice! I threw together the current crontab as a temporary bodge job and, as always, it became permanent.

1 Like

Crontab should always just run:
certbot renew

All the required specifics should already have been learned and stored in individual renewal config files.

2 Likes

Try:

certbot certonly \
--webroot -w /mediaserver/html       -d "auhrii.dev,www.auhrii.dev" \
--webroot -w /mediaserver/personal   -d "personal.auhrii.dev"       \
--webroot -w /mediaserver/secondlife -d "sl.auhrii.dev"             \
--dry-run
2 Likes

[in plain English]
There are two parts to ACME client actions:

  • authentication
  • installation

certonly satisfies the installation portion (by NOT installing it)
--webroot satisfies the authentication portion (by telling certbot where to place the challenge file so LE can find it)

And --dry-run means do this run as a TEST only.

2 Likes

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