[gnutls-devel] GnuTLS | certtool --to-p12 seems to alway require a password (#888)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Dec 23 21:07:18 CET 2019




Daniel Kahn Gillmor commented:


I note that i can launder the .p12 file through NSS's `pk12util` to remove the passwords on the embedded certificates:

     nsstmp=$(mktemp -d)
     pk12util -i bob.der.p12 -d "sql:$nsstmp"
     pk12util -o bob.laundered.p12 -n bob -d "sql:$nsstmp" -W '' -C NONE
     rm -rf "$nsstmp"

but even that laundered certificate has a passphrase (the empty string) on the private key material, despite having no passphrase for the certificates.  Maybe it's not possible to store a cleartext private key in PKCS#12?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/888#note_264457141
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20191223/a61d61a4/attachment.html>


More information about the Gnutls-devel mailing list