In Postman I can make working API calls by turning off certificate verification in the preferences, how can I (just for testing) turn it off in Retrofit?
When I try to use the appropritate certificate I get the error: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
When I try to create a trust manager that trusts all certs I get the error: javax.net.ssl.SSLPeerUnverifiedException: Hostname not verified
What is Postman doing to make these calls work, and how can I replicate it?