apache / apache/servicecomb-java-chassis

有什么好的办法可以实现多环境配置servicecomb tsl通信

Open
#3,269 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.9k
Forks
814
Avg merge
8d 23h
Merged PRs (30d)
1

Description

https://servicecomb.apache.org/references/java-chassis/zh_CN/security/tls.html
有些环境不需要tls通信,有些需要,如何配置实现?
我试着通过这个参数servicecomb.rest.address配置,一个有sslEnabled=true参数,一个没有这个参数,但发现不行,还是会去读取ssl.sslCustomClass: org.apache.servicecomb.demo.DemoSSLCustom,导致问题。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked Java Chassis TLS reference and reproduce the issue using servicecomb.rest.address with and without sslEnabled=true. Trace why ssl.sslCustomClass, specifically org.apache.servicecomb.demo.DemoSSLCustom, is still read when TLS is not enabled. Done means separate environment configurations select the intended TLS behavior without causing the other environment to load the custom SSL class.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, networking, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.