Android ssl: javax.net.ssl.SSLPeerUnverifiedException: No peer certificate (yet again)

前端 未结 1 1274
攒了一身酷
攒了一身酷 2020-12-06 04:42

I\'ve got a web site that I\'m enabling ssl on for a RESTful service. We have registered with RapidSSL, installed the certs, and it passes the RapidSSL checker. I\'m able to

相关标签:
1条回答
  • 2020-12-06 04:57

    After piles of digging and experimentation, I finally realized that the url I was using had hard coded port 80 instead of defaulting to 443. Dumb dumb dumb.

    The answer to this question Trusting all certificates using HttpClient over HTTPS helped tremendously for my understanding of SSL.

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