简体   繁体   中英

Getting Exception while trying to call a service over https

I am trying to parse JSON from a http call and I have successfully done it. But when i try to parse same data from https it gives me the following exception...

06-28 12:23:37.629: W/System.err(3987): javax.net.ssl.SSLPeerUnverifiedException: No peer certificate

Could someone please help me understand what is wrong.

Yuor problem here is not parsing the json but rather the lack of appropriate certificate.

This might help you.

i learned from this link json parsing

below are some other useful links

link >> link1 >> link2

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM