How to Create/Derive DER Encoded Public Keys (PKCS #1/X.509 SubjectPublicKeyInfo)?

Jeffrey Walton noloader at gmail.com
Tue Nov 16 12:46:02 CET 2010


Hi All,

I can create PKCS #8 DER encoded private keys (PrivaeKeyInfo) using
certool and the following commands. How do I get GnuTLS to cough up
the corresponding public keys? Nothing in certtol or gnutls-cli is
jumping out at me.

certtool --generate-privkey --pkcs8 --outder --bits 3072 --outfile
rsa-gnutls.der
certtool --dsa --generate-privkey --pkcs8 --outder --bits 1024
--outfile dsa-gnutls.der

Jeffrey Walton




More information about the Gnutls-help mailing list