help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I create a PKCS#12 file in certtool 2.8.[34]?


From: Simon Josefsson
Subject: Re: How do I create a PKCS#12 file in certtool 2.8.[34]?
Date: Wed, 14 Oct 2009 16:19:10 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Michael Welsh Duggan <address@hidden> writes:

> After an update of GnuTLS, we are no longer able to use certtool to
> create PKCS#12 files.  In both 2.8.3 on a Mac, and 2.8.4 under Linux, I
> get the following error:
>
> address@hidden:~/projects/git/netsa/silk/src/sendrcv/tests$ certtool 
> --load-certificate /tmp/cert.pem --load-privkey key1.pem  --to-p12 --outder 
> --outfile /tmp/foo.p12
> Generating a PKCS #12 structure...
> Loading certificate list...
> Loaded 1 certificates.
> Enter a name for the key: Foo
> Enter password: 
> |<1>| Cannot find OID: 1.2.840.113549.1.9.21
> certtool: bag_encrypt: The OID is not supported.

I can reproduce it.

> Any ideas how we can work around this problem?

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=9eba9e651a08dc69cafffad162d21a0ccb5c4dc3

This was introduced in

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=781d1aefa1df6c18f75e582ec9e278d55b6cccd1

So possibly other similar problems are lurking.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]