I want a server to validate a client through a certificate. I have the certificate user_cert.pem and the key user_cert.pkey stored locally. How will i do an httpsURLconnection authenticating the client to the server?
I have searched, but i am a little bit confused. I found this link .
The problem is that my certificate is in *.pem format.
Should i set the KeyStore like this?
KeyStore ks = KeyStore.getInstance("PEM");
Sorry, if i give vague information, but i think there is not enough documentation.
I found a post describing android supports certificates only in BKS Format and if we have certificates in PEM format, we should change them into BKS format through the Portecle GUI software.
I just ask for any source for information about client certificates in PEM format in android .