[Opendnssec-user] Re: exporting key from openhsm sqllite, no mysql

Rickard Bellgrim rickard at opendnssec.org
Sat Aug 23 06:58:00 UTC 2014

On Mon, Aug 4, 2014 at 8:01 AM, Jarno Huuskonen <jarno.huuskonen at uef.fi>

> > # softhsm --export my.zone.zsk.pem --slot 0 --pin haha42 --id deadbeef
> > Error: Could not find the private key with ID = deadbeef
> Have you tried with: ods-ksmutil key list -v --zone your.zone
An alternative is to use:

$ sudo pkcs11-tool --module /usr/local/lib/softhsm/libsofthsm2.so -s 0 -O
-p 1234
Using slot 0 with a present token (0x0)
Private Key Object; RSA
  label:      69e844df7237c35c2f6f20c5a7fdf794
  ID:         69e844df7237c35c2f6f20c5a7fdf794

// Rickard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opendnssec.org/pipermail/opendnssec-user/attachments/20140823/c1438bf0/attachment.htm>

More information about the Opendnssec-user mailing list