Syntax error in certbot dirsrv hook #272
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Today I could not log in to Gitea after being logged out after cookie expiry. The error in the dirsrv logs was "SSL peer cannot verify your certificate". It was not an issue for ejabberd, I could still connect.
The cause was a syntax error in the certbot hook for dirsrv, a newline (
\n\
) that was not escaped in the Chef code and rendered as an actual newline in the script.I have executed the content of the hook line by line manually on barnard to copy the new cert to dirsrv, the new cert is running on ldap.kosmos.org. I will push the fix to the script in a PR.