mirror of
https://github.com/lldap/lldap.git
synced 2026-04-26 08:45:55 +03:00
[GH-ISSUE #525] Support ECKey as private key for lldaps #195
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#195
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 @Michsior14 on GitHub (Apr 4, 2023).
Original GitHub issue: https://github.com/lldap/lldap/issues/525
Caddy defaults to ed25519 tls key type.
It would be cool if the certificates generated with standard configuration of Caddy would work with lldap as well.
@nitnelave commented on GitHub (Apr 4, 2023):
Side note: it would be amazing if you could contribute your Caddy config as well ;)
@Michsior14 commented on GitHub (Apr 5, 2023):
Caddy config is very simple:
Workaround that I use for now is to force RSA certificate via global options:
The only thing that is not the greatest is that the lldap needs to be restarted every night to ensure the latest certificate from caddy (there is no signal) is used. Alternatively inotify/incron could listen on the file updates and restart lldap whenever needed.
@nitnelave commented on GitHub (Apr 5, 2023):
Why do you need to change the certificate every night? Usually you can get much longer-lived certificates, at least 3 months, no?
@Michsior14 commented on GitHub (Apr 5, 2023):
I am using incron to detect the changes and restart only when needed, but without it you won't know when the change happens (caddy can do that week before the 3 months span or it can be days/hours) so it's the safest bet I guess.