PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WM20 - android] Error : No peer Certificate
[WM20 - android] Error : No peer Certificate
Iniciado por guest, 04,oct. 2015 12:51 - 4 respuestas
Publicado el 04,octubre 2015 - 12:51
Hi ,

i get error "No peer Certificate" when calling HTTPSendForm() on android.

how do I resolve this ?
Publicado el 05,octubre 2015 - 06:23
when I test on WD20 i get this error

"name on security certificate is incorrect or does not match the selected site"

it work after i add HTTP.ignoreError

HTTP.IgnoreError = httpIgnoreInvalidCertificateName
HTTPCreateForm("FORM")

but when I try on WM20-android , it doesn't work
Publicado el 06,octubre 2015 - 07:10
Yes , I found the solution. :rp:
Publicado el 06,octubre 2015 - 09:28
Which is?
We all want to know that...
Publicado el 06,octubre 2015 - 10:05
Quote
Arie Mars

Which is?


We all want to know that...

the error is cause by self sign certificate . if you using valid certificate , you won't get this error .

problem ?
what if you need to use self sign certificate for your internal website use .

solution ?
- create your own private certificate authority
after you create your root certificate and self-sign it , copy the root certificate (not the key) to sd-card .

- from android device go to setting -> security -> credential storage -> install certificate from sd-card .

once install , your app will work.