Mule HTTPS connector that trusts all certificates

后端 未结 2 1631
忘了有多久
忘了有多久 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:08

    Is there a particular reason why you can not just create a test jks file to import into the ESB ecosystem for testing? I'm assuming that the ESB has a test environment from which you run your test cases against.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题