Accept self-signed local certificates for local LDAP or database communication
- Langage dominant
- Go
- Étoiles
- 6.1k
- Forks
- 327
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
# Use case
I am running Maddy inside a FreeBSD 14.1 jail, with other mails (one the same physical server serving PostgreSQL and OpenLDAP. The communication between those jails should be encrypted, using locally produced certificated and a local certificate authority. As the latter cannot be verified via the Internet, Go routinely complains, and a "accept_insecure_certs" or something similar has to be added (as seen on Grafana, etc). Maddy does not yet have this switch to accept "insecure" certificates.
The workaround is to disable encryption, which is not really desirable.
# Your idea for a solution
Simple add a toggle to the tls_client settings to accept "insecure" certfificates, as seen with other Go applications.
- [x] I'm willing to help with the implementation: I am not a programmer but half-way decent alpha tester :-)!
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Repérez les paramètres de tls_client et examinez comment les connexions LDAP et aux bases de données utilisent leur configuration TLS. Vérifiez les tests de connexion pertinents, s’ils existent, et vérifiez le comportement avec des certificats signés localement. C’est terminé lorsque les utilisateurs peuvent activer une option de configuration qui accepte ces certificats sans désactiver le chiffrement.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- go
- Domaine
- backend, security
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100