Closed IanWambai closed 7 years ago
Removing the trustEveryone()
method leads to this: com.alexgilleran.icesoap.exception.SOAPException: javax.net.ssl.SSLPeerUnverifiedException: Hostname safaricom.co.ke not verified
. So I need to find a way around this.
To solve this issue I had to manually verify Safaricom SSL certificates, which is exactly as painful as it sounds. Here are the steps I took:
STRICT_HOSTNAME_VERIFIER
.www
.Publishing to the PlayStore will hopefully work now. Updating the version on Bintray.
Trust anchor for certification path not found And did you use pure android
Trust anchor for certification .... Error
Chowder, cause I was dumb, contains a piece of code that effectively removes the protection of HTTPS from your connections. Fixing this and updating the dependency on Bintray asap.