[gnutls-help] Creating password protected private keys with certtool?

Josef Wolf jw at raven.inka.de
Wed May 14 15:37:14 CEST 2014


Hello everybody,

I am trying to create password protected private keys with the following
command:

  certtool --generate-privkey --outfile x509-ca-key.pem --password "secret"

but the resulting file don't seem to be encrypted. Then I tried the --ask-pass
option, but certtool complains that the --ask-pass option is unknown.

Any hints how to generate a password protected private key?

-- 
Josef Wolf
jw at raven.inka.de



More information about the Gnutls-help mailing list