How to create indirect CRL using openssl ca command

Michael Wojcik Michael.Wojcik at microfocus.com
Thu Mar 10 20:27:40 UTC 2022


> From: openssl-users <openssl-users-bounces at openssl.org> On Behalf Of
> Michael Ströder via openssl-users
> Sent: Thursday, 10 March, 2022 12:17
> 
> On 3/10/22 14:06, edr dr wrote:
> > At the same time, I do not want to store passwords used for
> > certificate creation in cleartext anywhere.

Personally, I'd be leery of using openssl ca for anything other than dev/test purposes, in which case frequent CRL generation seems unlikely to be a requirement. AIUI, openssl ca isn't really intended for production use.

> It's a pity that there is not something like an OpenSSL key agent
> (similar to ssh-agent) for interactively loading the CA's private key
> into memory during service start.

To be fair, this is not an OpenSSL limitation; it's a limitation of openssl, the utility. Which, again, is not intended to solve all production use cases.

openssl ca, like most openssl subcommands, allows the use of an engine (or provider in 3.0), which means in many cases it's possible to use an inexpensive USB-attached HSM (via the pkcs11 engine) rather than having an on-disk key in the first place. I did this some years ago as an experiment using a NitroKey and it worked well.

-- 
Michael Wojcik


More information about the openssl-users mailing list