http request with ssl client certificate

Post your questions and help other users.

Moderator: Martin

Post Reply
channel
Posts: 7
Joined: 11 Dec 2014 14:33

http request with ssl client certificate

Post by channel » 20 Nov 2016 16:06

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

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: http request with ssl client certificate

Post by Martin » 22 Nov 2016 13:41

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

channel
Posts: 7
Joined: 11 Dec 2014 14:33

Re: http request with ssl client certificate

Post by channel » 23 Nov 2016 15:18

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

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: http request with ssl client certificate

Post by Martin » 23 Nov 2016 19:54

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

channel
Posts: 7
Joined: 11 Dec 2014 14:33

Re: http request with ssl client certificate

Post by channel » 24 Nov 2016 09:31

Hi, thanks,
I've just sent you all the infos on a private message.

Hope this helps


Giorgio

Post Reply