How to disable SSL in WebClient?
We can use an insecure TrustManagerFactory that trusts all X. 509 certificates without any verification. This will allow WebClient to communicate with a URL having any https certificate (self-signed, expired, wrong host, untrusted root, revoked, etc).
How to disable SSL certificate check in curl?
If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option.