I create a self signed certificate using

> openssl req -new -x509 -key ... -out ... -days ...

It then prompts for the country, state, locality, etc.

Is there a way to enter that data on the command line or in a configuration file to avoid the prompts? I tried -config and a configuration file, but that seems to just change the defaults. It still prompts.

Rationale:

I can script it and avoid user errors.
I can automate changing the values for regression testing.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to