using stdout with certtool

Nikos Mavrogiannopoulos nmav at
Wed Mar 2 18:48:07 CET 2011

On 03/02/2011 03:08 AM, Daniel Kahn Gillmor wrote:
> hi folks--
> i know certtool has an --output option, but it's nice when tools work
> properly with stdout as well.
> i just tried to make a self-signed cert like this:
>  certtool --bits 1024 -s > ca.pem
>  certtool --load-privkey ca.pem -s > cacert.pem
> the series of prompts generated by the -s command came mostly to stderr,
> which is the right thing to happen.  but a few of them went to stdout,
> which made the process fairly confusing.
> here are the prompts that went to stdout:

Thanks. It is now corrected. All interactive messages are sent to stderr.


More information about the Gnutls-help mailing list