failed to update database
TXT_DB error number 2
unique_subject=no
to the file demoCA\index.txt.attr
, and OpenSSL will permit you to sign the key.The stateOrProvinceName field needed to be the same in the
CA certificate (NY) and the request (NY)
openssl req -noout -subject -nameopt show_type,sep_multiline -in storereq.pem
subject=
C=PRINTABLESTRING:US
ST=PRINTABLESTRING:PA
L=PRINTABLESTRING:Pittsburgh
O=PRINTABLESTRING:Acme Widgets Inc.
OU=PRINTABLESTRING:Quality Assurance
CN=PRINTABLESTRING:example.com
openssl x509 -noout -subject -nameopt show_type,sep_multiline -in demoCA\cacert.pem
subject=
C=PRINTABLESTRING:US
ST=UTF8STRING:PA
O=UTF8STRING:Acme Widgets Inc.
OU=UTF8STRING:Quality Assurance
CN=UTF8STRING:Bob
emailAddress=IA5STRING:[email protected]
-policy policy_anything
on the command-line of the openssl ca
command.The stateOrProvinceName field needed to be the same in the
CA certificate (NY) and the request (NY)