Verify client certificates with FANOUT_TLS_CLIENT_CA_FILE

Đang mở
#428 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@vishr đang làm issue này rồi.

Từ ngày 7/11/2026.

  • #431 của @vishr — đang mở

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
go, grpc

Hướng nghiên cứu

Start with internal/server/http.go to trace TLS listener setup, then read cmd/fanout/main.go for healthcheck behavior and site/src/content/docs/docs/guides/tls.mdx for configuration guidance. Check the open pull request #431 before starting, since work is already underway. Done means client certificates are verified, gRPC and HTTP work with valid certificates, healthcheck passes, and the configuration reference and TLS guide are updated.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

What

Add FANOUT_TLS_CLIENT_CA_FILE. When set together with the certificate and key files, the listener requires and verifies client certificates against that CA (TLS 1.3, ALPN h2 unchanged). fanout healthcheck must keep working, for example through a loopback path or by presenting a configured client certificate.

Acceptance criteria

  • Connections without a valid client certificate are rejected
  • gRPC and HTTP both work with a valid client certificate
  • fanout healthcheck passes with the setting enabled
  • Configuration reference and TLS guide updated

References

  • internal/server/http.go
  • cmd/fanout/main.go (healthcheck)
  • site/src/content/docs/docs/guides/tls.mdx

One pull request. Use the latest stable version of any dependency added, verified against its registry and pinned exactly.

Ngôn ngữ chính
Go
Star
11
Fork
0
Merge trung bình
7 giờ 38 phút
Pull request đã merge (30 ngày)
98

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của labstack/fanout

Tất cả issue của labstack/fanout

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.