用https从本地击中URL所需的最低配置(休息到肥皂)
因此,我最近经历了几篇有关在本地计算机上启用spr启动的SSL的文章
假设我的春季启动应用程序yml yml已定义(也有几个其他定义
someService(SOAP Based): username: someUserName uri: https://qa01-some-service-war.appcloud-np.barclays.intranet/someservice/v1/someservice.wsdl password:
)问题是,如果我想将其他所有服务称为正确定义!
, 我需要将最低限度到目前为止的例外(我认为如果正确通过密码字段)
org.springframework.ws.soap.client.client.soapfaultclientException:无法认证或确认安全令牌授权;嵌套异常是org.apache.wss4j.common.common.wssecurityexception:无法对安全令牌进行认证或授权
>
So I have been recently going through few articles on enabling SSL in spring boot on local machine
For e.g. How set up Spring Boot to run HTTPS / HTTP ports
Let's say my Spring boot application YML has following defined (Few other definitions too)
someService(SOAP Based): username: someUserName uri: https://qa01-some-service-war.appcloud-np.barclays.intranet/someservice/v1/someservice.wsdl password:
My Question is what is the bare minimum I require if at runtime I want to call this "some-service" , assuming everything else is properly defined!
Just to add up more, I am facing this exception as of now (Which wouldn't I think if I pass the password field correctly)
org.springframework.ws.soap.client.SoapFaultClientException: The security token could not be authenticated or authorized; nested exception is org.apache.wss4j.common.ext.WSSecurityException: The security token could not be authenticated or authorized
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
希望这是有帮助的,这些是必须遵循的基本步骤来为Springboot设置SSL。
https://www.thomasvitale.com/htomasvitale.com/https-spring-boot-boot-boot-boot-boot-boot-boot-boot-boot-boot-boot-boot-boot-boot-boot-boot- -certificate/
添加这些配置
Hope this one helps, These are basic steps one must follow to setup ssl for springboot.
https://www.thomasvitale.com/https-spring-boot-ssl-certificate/
Add these configurations