Page 1 of 1
http request with ssl client certificate
Posted: 20 Nov 2016 16:06
by channel
Hi Martin, I'd like to know if (and eventually how) to make a http post/get response agains a ssl site that require client certificate.
I've tried to import the certificate on android default browser (chrome in my case) but to no avail, logging the response I see "400 no required SSL certificate..."
Thanks a lot
Giorgio
Re: http request with ssl client certificate
Posted: 22 Nov 2016 13:41
by Martin
Hi,
I've never used a client certificate on Android so I'm not sure if there's a way to install it in the system itself. Did you try system settings->Install from storage? However I'm not sure if Android automatically uses such certificates for apps, I doubt it.
Is this ssl site publicly available so I can make some tests? Is there a way for me to obtain a suitable client certificate?
Regards,
Martin
Re: http request with ssl client certificate
Posted: 23 Nov 2016 15:18
by channel
Hi, thanks for the info.
This way I went a little farther... Now I get a 403 Unauthorized
(which is the way of server to say "you're not giving me the right ssl client cert")
So now it seems like a problem about which certificate to chose.
As for the certificates Martin, if you like to make some test, I can arrange a very simple page for you and provide a client certificate as well for you to test.
Just let me know if I can help
Giorgio
Re: http request with ssl client certificate
Posted: 23 Nov 2016 19:54
by Martin
Would be great if you could provide a page and a client certificate for tests. I'll make some experiments in the hopes that it's not overly complicated to support client certificates in Automagic
Regards,
Martin
Re: http request with ssl client certificate
Posted: 24 Nov 2016 09:31
by channel
Hi, thanks,
I've just sent you all the infos on a private message.
Hope this helps
Giorgio