https icon indicating copy to clipboard operation
https copied to clipboard

SSLPeerUnverifiedException

Open kentplaza opened this issue 8 years ago • 5 comments

Need some assist. Why when i enabled the SSL pinning and Test HTTPS, always getting javax.net.ssl.SSLPeerUnverifiedException error message as below:

JS: Https.request error javax.net.ssl.SSLPeerUnverifiedException: Hostname xxxx.azurewebsites.net not verified: JS: certificate: sha256/nrmpk4ZI3wbRBmUZIT5aKAgP0LlKHRgfA2Snjzeg9iY= JS: DN: CN=.azurewebsites.net JS: subjectAltNames: [.azurewebsites.net, *.scm.azurewebsites.net, *.azure-mobile.net, *.scm.azure-mobile.net]

while disabled SSL, it called to api sucessfully.

Any idea?

thanks

kentplaza avatar Jun 19 '17 16:06 kentplaza

@kentplaza it looks like you're using a hostname xxxx.azurewebsites.net which is not in the list of verified names.

roblav96 avatar Jun 20 '17 21:06 roblav96

@roblav96 I see, but if i double click on the cer cert. I saw the subject is *.azurewebsites.net. 1


2

kentplaza avatar Jun 21 '17 01:06 kentplaza

@roblav96 It is work fine with exact domain. I tried on not using wildcard.

kentplaza avatar Jun 21 '17 08:06 kentplaza

@kentplaza ye currently there's no support for wildcards

roblav96 avatar Jun 21 '17 14:06 roblav96

I have the same problem.. Does wildcards are supported now?

crisleiria avatar Oct 30 '18 01:10 crisleiria