Creating X.509 certificate programming without BouncyCastle?
.Hi,
I'd like to create a X.509 certificate. Unfortunately, java.security.cert.CertificateFactory.generateCertificate() takes in a DER-encoded certificate and there is seemingly no way to generate this without using BouncyCastle. I'd rather not use BouncyCastle because of the size of the JAR as well as the fact I'd like to avoid using 3rd party libraries if I can do so.
Is this possible using the standard JRE or am I forced to use BounceCastle? Keytool must do it somehow.
Thanks,
Gili