Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you create a Certificate Signing Request using the KeyStore on Android?

I'm generating a SSL KeyPair in an Android app using the KeyStore API. I want to create a Certificate Signing Request (CSR) from the Public/Private key pair so that it can be sent to an external CA for signing.

Is this possible? I'd like to use the builtin Android libraries rather than BouncyCastle if possible, in order to have Android store the keys securely.

like image 719
Phil Avatar asked Nov 20 '22 10:11

Phil


1 Answers

Certificate enrollment process

Check this link. It generate key pair and CSR. Regarding generating a CSR (certificate sign request) on the android phone, I think it is rather straightforward to use Spongycastle instead. It is an android port of Bouncycastle.

like image 116
Dante Avatar answered Jun 15 '23 19:06

Dante