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

Nikos Mavrogiannopoulos nmav at
Tue Nov 16 14:04:36 CET 2010

On Tue, Nov 16, 2010 at 2:00 PM, Jeffrey Walton <noloader at> wrote:
>>> 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.
>> Check certtool from 2.11.x and the --certificate-pubkey option.
> Thank you very much. If we could only get distros to update packages
> more frequently... :/

2.11.x is a development release, that's why it is not in any distribution.
A stable 2.12.x release will be released soon.


More information about the Gnutls-help mailing list