Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring boot 通过HTTPS使用Spring引导的SOAP web服务_Spring Boot_Ssl_Soap_Https - Fatal编程技术网

Spring boot 通过HTTPS使用Spring引导的SOAP web服务

Spring boot 通过HTTPS使用Spring引导的SOAP web服务,spring-boot,ssl,soap,https,Spring Boot,Ssl,Soap,Https,我使用SpringBoot教程构建了一个简单的SOAPWeb服务客户端。它工作得很好 如果我想切换到HTTPS版本的Web服务,问题就开始了。我用Python调试了SSL证书和密钥的使用,现在我也想在基于教程的项目中启动HTTPS连接,但我迷路了 将SSL证书和密钥添加到SpringWebServiceTemplate(org.springframework.ws.client.core.WebServiceTemplate)以便开始签名消息的最简单方法是什么?我想保留和使用Maven从web服

我使用SpringBoot教程构建了一个简单的SOAPWeb服务客户端。它工作得很好

如果我想切换到HTTPS版本的Web服务,问题就开始了。我用Python调试了SSL证书和密钥的使用,现在我也想在基于教程的项目中启动HTTPS连接,但我迷路了

将SSL证书和密钥添加到Spring
WebServiceTemplate
org.springframework.ws.client.core.WebServiceTemplate
)以便开始签名消息的最简单方法是什么?我想保留和使用Maven从web服务的WSDL自动创建的生成的Java类,我只想添加SSL支持。我已经准备好密钥库了


有什么简单的方法可以做到这一点吗?

您可能会在这里得到答案:您可能会在这里得到答案: