mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[GH-ISSUE #994] [FEATURE REQUEST] Allow to add a certificate authority for the mail client #359
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#359
Loading…
Add table
Add a link
Reference in a new issue
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?
Originally created by @jduepmeier on GitHub (Oct 13, 2024).
Original GitHub issue: https://github.com/lldap/lldap/issues/994
Motivation
Private mail server sometimes have certificates signed by a private certificate authority.
It should be possible to configure the authority in the mail options.
This allows a secure connection to the mail servers.
Describe the solution you'd like
Add a parameter
certificate_authority_fileto the mail options which reads the authority from a file and adds it to theTls config of the connection.
This is only needed for TLS and STARTTLS connections.
Describe alternatives you've considered
TLS can be disabled but this is insecure.
Additional context
There was this issue (https://github.com/lldap/lldap/issues/412) which added the parameter to disable TLS.
The issue mentions the way to add a custom authority (https://github.com/lldap/lldap/issues/412#issuecomment-1374507084).
@nitnelave commented on GitHub (Oct 13, 2024):
Hmm. I see the point, but it's not an issue that will affect most self hosters, it seems more like a company problem.
In addition, I don't have much free development time.
All of that to say: I would review and accept a PR implementing it, but I don't think I'll do it myself.
@nitnelave commented on GitHub (Oct 21, 2024):
I'm not sure we disagree on anything here :)
I didn't say it was difficult, or that I wouldn't do it, just that it doesn't affect most self hosters.
It sounds like you could make an easy PR then?
hostconfigurable to enable IPv6 support #705