【问题标题】:How to config SSL certificate for external servers in Spring Boot Tomcat?如何在 Spring Boot Tomcat 中为外部服务器配置 SSL 证书?
【发布时间】:2016-09-02 23:06:48
【问题描述】:

我正在为 Soap WebService 应用程序创建与 Tomcat 的 Spring Boot 集成

我们在其中调用其他的 Soap WebServices,它们在 https 协议中运行。

您能帮我如何为外部服务器配置 SSL 吗?

【问题讨论】:

    标签: spring-boot tomcat7


    【解决方案1】:

    首先,如果这些外部服务器拥有自己的合法可信证书,则无需进行任何操作。

    但如果不是并且您信任这些外部服务器,您可以跳过这些服务器的证书验证,如 How to fix the “java.security.cert.CertificateException: No subject alternative names present” error?

    或者只是跳过特定主机为SSLHandshakeException: No subject alternative names present

    希望它能有所帮助。

    【讨论】:

      猜你喜欢
      • 2020-02-24
      • 2017-05-19
      • 2021-02-22
      • 2018-09-07
      • 1970-01-01
      • 2019-01-01
      • 2021-06-23
      • 2020-11-27
      相关资源
      最近更新 更多