Mule HTTPS connector that trusts all certificates

后端 未结 2 1630
忘了有多久
忘了有多久 2021-01-27 07:51

I\'m writing integration tests for a Mule ESB application. The Mule application connects to a third-party API via HTTPS. When I try to run my application against the third-party

2条回答
  •  醉话见心
    2021-01-27 08:15

    Set this in your properties in runtime manager: com.ning.http.client.AsyncHttpClientConfig.acceptAnyCertificate=true

    Configure your pom.xml file as necessary so that it sticks between deploys.

提交回复
热议问题