Accept self-signed local certificates for local LDAP or database communication
- 主要言語
- Go
- スター
- 6.1k
- フォーク
- 327
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
# 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 :-)!
コントリビューションガイド
調査の方向性
tls_client の設定を特定し、LDAP 接続とデータベース接続が TLS 設定をどのように使用しているかを確認します。関連する接続テストがあれば確認し、ローカルで署名された証明書に対する動作を検証します。暗号化を無効にせずに、それらの証明書を受け入れる設定トグルをユーザーが有効にできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- go
- 領域
- backend, security
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100