I am using java to test my ssl supported web server,
I alwayse get error HTTPS hostname wrong:  should be <192.168.0.1>,
I google the error it seems this happens if the hostname in the URL 
does not match the hostname in the certificate?
but my hostname in url is 192.168.0.1,is the hostname in certificate
set when the certificate is created?such as "openssl req -new -x509 -key privkey.pem 
-out cacert.pem -days 365"

BTW:I can access https://192.168.0.1 via IE.
-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to