How to create a Certificate that gets validated by Mozilla
843811Aug 12 2006 — edited Aug 16 2006Hi,
I've written an application that enables it's user to act as a CA.
He can create Key-Paris, Certificates, sign Certificates and various other things.
Among them he is able to export any KeyStore-Entry (i.E. a Key-Pair) to a PKCS#12 file.
The problem that I am encountering here is, that Mozilla Browsers (i.E. Firefox) won't recognize the importet Certificate as a valid one. It says "The certificate couldn't be verified for unknown reason" (sorry, but I can't provide the exact error message because I use a localized build of firefox).
What I do in order to reproduce this Problem is basicly this:
- Create a Key-Pair
- Create a (self-signed) certificate from the Public-Key
- Store them as a PrivateKeyEntry in my KeyStore
- sign the certificate with my self-signed CA-Certificate
- export my CA-Certificate to Firefox
- export my PrivateKeyPair to a PKCS#12-File wich I import with Firefox
Any help would be greatly apreciated.