Syntax error in certbot dirsrv hook #272
Labels
No Label
service
accounts
service
discourse
service
drone-ci
service
email
service
garage
service
gitea
service
ipfs
service
mastodon
service
postgres
service
remotestorage
service
wiki
service
xmpp
bug
design
dev environment
docs
duplicate
enhancement
feature
good first issue
idea
invalid
kredits-1
kredits-2
kredits-3
on hold
ops
question
release
major
release
minor
release
patch
security
ui/ux
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: kosmos/chef#272
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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.