Hello,

I am trying to create a certificate, on win, and I am having some troubles
with OpenSSL. First I generate a key. That's ok. Then I create a request:

openssl req -config .\openssl.cnf -subj
"/C=DE/L=Munchen/ST=Bayern/O=Org/OU=Dev/CN=Test Certificate"  -new -days 365
-key ..\demo_store\private\private_key_client.pem -outform PEM -out
..\demo_store\request\req_server.csr   -passin pass:pass

Then I want to sign this:
openssl x509 -inform PEM -req -in ..\demo_store\request\req_server.csr
-outform DER -out ..\demo_store\certs\cert_server.der -CAform DER -CA
..\demo_store\certs\ca_cert.der -CAkeyform PEM -CAkey
..\demo_store\private\ca_private_key.pem -CAcreateserial

And the message printed out is:
Loading 'screen' into random state - done
Signature ok
subject=/C=RO
Getting CA Private Key


Now, what disturbs me, is that it seems that the subject I have provided
with "-subj" in the first "openssl req" command has been ignored.
Why is that happening? What am I doing wrong?

Thanks,
Gerald

Reply via email to