I want to consume a web service that is using an invalid certificate (self signed)
I want to make the web service call without performing any sort of certificate validation.
How do I do it?
To bypass SSL certificate validation for local and test servers, you can pass the -k or --insecure option to the Curl command. This option explicitly tells Curl to perform "insecure" SSL connections and file transfers. Curl will ignore any security warnings about an invalid SSL certificate and accept it as valid.
In your application.conf add the below line
ws.acceptAnyCertificate=true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With