Am I risky anything when I modify "# managed by Certbot" webserver configuration lines?

It should not indeed.

And I'd recommend also testing this renewal by using the same renew command as planned plus the --dry-run option. Suddenly using certonly for no good reason only complicates things.

1 Like