nativescript-community / https

Secure HTTP client with SSL pinning for Nativescript - iOS/Android
https://nativescript-community.github.io/https/
Other
50 stars 42 forks source link

Hostname not verified #28

Open inane opened 6 years ago

inane commented 6 years ago

Hi Robert,

Thank you for your great implementation and plugin.

I am trying to connect my app to WS based in XML-SOAP but I am having the next error in the console:

JS: 'Error: javax.net.ssl.SSLPeerUnverifiedException: Hostname XX-XX-XX not verified: JS: certificate: sha256//zAeFdL0ymoNZ6XuKCOGJ3FwR/lYqAhkxku0wH3SE0k= JS: DN: CN=localhost,OU=FOR TESTING ONLY,O=MyOrganization,L=MyTown,ST=MyState,C=US JS: subjectAltNames: []'

Any clue about what would it be the problem?

Thank you in advance.

2adi commented 6 years ago

I have a error like you. Can you ask me any idea if you have any solution for this please?