Import private key from PEM file?
Nguyễn Hồng Quân
quannguyen at mbm.vn
Tue Jun 19 05:38:40 CEST 2012
So, do you think the private key and the certificate in the same p12
file don't match?
The private key I expect to see was imported (in companion with
certificate) earlier from a p12 file.
I checked with OpenSSL and make sure that the p12 file contain both
private key and certificate.
On 06/18/2012 08:47 PM, Werner Koch wrote:
> On Mon, 18 Jun 2012 12:09, quannguyen at mbm.vn said:
>> I don't need new entry, I just need 'existing' entry. But none is shown.
>> hongquan at Pangolin ~ $ gpgsm --list-secret-keys
> You need to have a matching certificate. The way --list-secret-keys
> works is to iterate over all certificates (as shown with --list-keys)
> and print only those where a matching private key is available.
> You don't have any matching certificates. Try --with-ephemeral-keys to
> really show all certificates in the pubring.kbx.
More information about the Gnupg-users