I used openssl to create a certificate to remove the
warning from the browser: "The name on the security
certificate is invalid or does not match the name of
the site". Once I added IP address in the commonName
field in my configure file, the warning was
successfully removed whenever I used this IP address.
Now I hope to allow user to use another host name
"host2kws" without warning, can I use SubjectAltName
to define this? I tried "DNS:host2kws", and
"URI:https://host2kws";, neither one of them is
working. Could anyone please tell me what I did wrong?
Your help is highly appreciated. Thanks.

(config file:)
[ req_distinguished_name ]
...
commonName                  = 1.2.3.4
commonName_default             = 1.2.3.4
subjectAltName                 = URI:https://host2kws
subjectAltName_default         =URI:https://host2kws



_________________________________________________________
Do You Yahoo!? 
在汽车中做爱做的事,你呢?
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.surveys.yahoo.com/auto_global_pr
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to