英文:
Error when using self signed certificate in Mule on-prem
问题
我们的一个Mule on-prem应用程序中,我们正在使用自签名证书来实现HTTPS和端口443。当我们从Postman或SoapUI访问时,我们能够收到响应。
然而,我们的客户在其系统中配置了此API,从该系统触发URL时,出现“SSL握手错误:接收到致命警报:certificate_unknown”错误。
可能导致此错误的原因是什么,而我们在Postman中看不到这个错误。客户是否需要在其系统中添加证书,或者我们需要将证书放置在on-prem服务器上?关于如何解决此问题以及导致此错误的原因,是否有任何想法或建议?
提前感谢。
英文:
For one of our application in Mule on-prem, we are using a self-signed certificate to achieve HTTPS and port 443. When we are hitting from postman or soapUI we are able to get the response back.
However, our client configured this API in one of their system and from that system when they trigger the url it is giving "SSL handshake error: Received fatal alert: certificate_unknown" error.
What could be causing this error which we don't see from the postman. Do the client has to add the certificate in their system or do we need to place the certificate in on-prem server? Any thoughts or suggestion on how we can resolve this and what is causing this error?
Thanks in advance..
答案1
得分: 2
错误明确指出客户端无法识别自定义证书。在Postman中,您可能在某个时候接受了它作为有效证书。您需要配置客户端信任该证书。在基于Java的应用程序(如Mule)中,可以通过信任存储配置来完成。
英文:
The error clearly indicates that the client doesn't recognize the custom certificate. In Postman you probably accepted it as valid at some point. You need to configure the client to trust in the certificate. In Java based applications like Mule it is done with a trust store configurations.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论