Add sslmode, sslcert, and sslkey for PostgreSQL RDBMS
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start in PostgreSqlBindingsPropertiesProcessor.java, around line 111, where extra PostgreSQL JDBC options are already added to the URL, and check how the private-key and certificates secret entries are turned into file paths. Confirm whether the existing mechanism can carry sslkey and sslcert, then add them. Done means a postgresql binding with those entries produces a JDBC URL containing sslkey and sslcert pointing to the right files, with a test covering it.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
- When a Service Binding exists that provides
private-keyfor typepostgresqlthen spring cloud bindings should addsslkeyto the JDBC url that points to the file location that contains the contents for theprivate-key. - When a Service Binding exists that provides
certificatesfor typepostgresqlthen spring cloud bindings should addsslcertto the JDBC url that points to the file location that contains the contents for thecertificates.
I see there is already a way to add some additional DB options:
https://github.com/spring-cloud/spring-cloud-bindings/blob/7f20fb23ba134a58bf1733b1dce5f87fe9322e5b/spring-cloud-bindings/src/main/java/org/springframework/cloud/bindings/boot/PostgreSqlBindingsPropertiesProcessor.java#L111
I'm wondering if this can already be leveraged to add in missing parameters for sslcert and sslkey which are necessary for TLS Authentication to Postgres databases.
So this issue might just be documenting how to add those parameters, and how to populate them with a TLS certificate added through certificates and private-key are populated as well-known Secret Entries , but at first glance I don't think this functionality works properly.
- Ngôn ngữ chính
- Java
- Star
- 50
- Fork
- 33
- Merge trung bình
- 6 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của spring-cloud/spring-cloud-bindings
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 45/100
spring-cloud/spring-cloud-bindings#116 · 2 bình luận · 1 reaction ·
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 55/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
-
SCS Configuration Help NeededĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
-
Make bindings enabled by defaultĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
Tất cả issue của spring-cloud/spring-cloud-bindings
Issue tương tự
-
area:cpan-port area:performance bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
fglock/PerlOnJava#2230 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
federicoiosue/Omni-Notes#1044 ·
-
Industrial Center Text TypoĐang mởBug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày