Is it possible to pass in the subject's key from stdin when creating CSRs with OpenSSL?
Like in the following (non-working)
openssl req -new -key stdin -subj '/C=US/ST=NY/L=Somewhere/organizationName=MyOrg/OU=MyDept/CN=fqdn.of.my.host'
part is not working.
I want to use OpenSSL for CSR and certificate creating in a scripting environment, and both keys and subject information are coming from a database.