opendnssec / SoftHSMv2

SoftHSM version 2
http://www.softhsm.org/
Other
774 stars 342 forks source link

[softhsm2-util] Support certificate import #602

Open alonbl opened 3 years ago

alonbl commented 3 years ago

Hello, SoftHSMv2 is a great tool for testing. The utility has the capability of importing a key, it would be great if it would support importing also a certificate. Currently a different tool is required for the task. Thanks,

rijswijk commented 3 years ago

softhsm2-util is really intended to be a minor tool for basic operations, there are, however, already other tools that can do what you are looking for, e.g. p11tool-new or pkcs11-tool from the OpenSC project. If these don't meet your need, I can add this issue to the backlog, but unfortunately we have very little spare development capacity so it may be some time until we get to it.

alonbl commented 3 years ago

Thank you. I actually currently use pkcs11-tool :) However I was surprised to see key import support in the utility and thought it will be helpful and relatively minor effort to import a certificate as well. Feel free to close this issue.

alonbl commented 3 years ago

Hi, Please see #612. It supports only openssl, I can probably also make botan working if important. Regards, Alon

rijswijk commented 3 years ago

Thanks, I added some considerations to that PR and have asked for a second opinion.