*If I specify the subject fields in the command line instead of the config
file*

openssl req -new -nodes -out my.csr -days 731 -keyout mykey.pem 
-batch -extensions v3_OCSP -config  myconfig -subj /C=US/ST=North
Carolina/L=RTP/O=IBM Corporation/CN=192.168.2.16"

*I can get these fields in the Cert. Somehow I want to use the config file
for creating certs 
that will be signed by the CA.*

Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number: 4096 (0x1000)
    Signature Algorithm: sha1WithRSAEncryption
*        Issuer: C=US, ST=North Carolina, O=IBM Corporation
*        Validity
            Not Before: Aug 22 16:57:44 2013 GMT
            Not After : Aug 12 16:57:44 2015 GMT
*        Subject: C=US, ST=North Carolina, O=IBM Corporation,
CN=192.168.2.16
*        Subject Public Key Info:


*The issuer is correct our CA and the fake Subject material is correct.
Or is this not possible form the config file?*






--
View this message in context: 
http://openssl.6102.n7.nabble.com/Config-file-subjectAltName-and-This-certificate-is-not-valid-host-name-mismatch-tp46290p46299.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to