You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2022/08/09 02:27:05 UTC

[GitHub] [servicecomb-java-chassis] bambi2016 opened a new issue, #3269: 有什么好的办法可以实现多环境配置servicecomb tsl通信

bambi2016 opened a new issue, #3269:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3269

   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,导致问题。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [servicecomb-java-chassis] bambi2016 commented on issue #3269: 有什么好的办法可以实现多环境配置servicecomb tsl通信

Posted by GitBox <gi...@apache.org>.
bambi2016 commented on issue #3269:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3269#issuecomment-1210126511

   > 
   一:如果是服务提供者不想开启tls,应该如何配置?
   二:你是说消费者每一次请求都会去执行org.apache.servicecomb.demo.DemoSSLCustom对应方法吗?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [servicecomb-java-chassis] bambi2016 commented on issue #3269: 有什么好的办法可以实现多环境配置servicecomb tsl通信

Posted by GitBox <gi...@apache.org>.
bambi2016 commented on issue #3269:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3269#issuecomment-1210126705

   > 如果访问的目标微服务启用了ssl, 依然需要读取配置, 相当于是客户端证书。
   
   一:如果是服务提供者不想开启tls,应该如何配置?
   二:你是说消费者每一次请求都会去执行org.apache.servicecomb.demo.DemoSSLCustom对应方法吗?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #3269: 有什么好的办法可以实现多环境配置servicecomb tsl通信

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #3269:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3269#issuecomment-1255707860

   消费者启动的时候,会初始化一个支持TLS的httpclient。 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [servicecomb-java-chassis] yanghao605 commented on issue #3269: 有什么好的办法可以实现多环境配置servicecomb tsl通信

Posted by GitBox <gi...@apache.org>.
yanghao605 commented on issue #3269:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3269#issuecomment-1255706223

   按照开发指南的教程使用啊,提供端不开启TLS通信的话,就别去配置tls通信的相关配置信息了
   ![image](https://user-images.githubusercontent.com/73453250/191876286-1720f072-8aa1-43ef-92bd-4ba2a339a34e.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #3269: 有什么好的办法可以实现多环境配置servicecomb tsl通信

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #3269:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3269#issuecomment-1209421185

   如果访问的目标微服务启用了ssl, 依然需要读取配置, 相当于是客户端证书。 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org