On 09/19/11 18:04, Amol Chiplunkar wrote:
subjectAltName does not seem to work with the pkg command. I tried with subjectAltName = IP:<ip address> in the openssl conf file to create the certificate Also tried subjectAltName_default = IP:<ip address> Both these in combination with ServerAlias <ipaddress> for the Virtual Host and without the alias as well. It always generates Framework error: code: 51 reason: SSL: certificate subject name '<hostname>' does not match target host name '<ip address>'
libcurl documentation states that: "Curl considers the server the intended one when the Common Name field or a Subject Alternate Name field in the certificate matches the host name in the URL to which you told Curl to connect."
So this should work. Have you tried using the curl client to retrieve things via SSL using this server? Does it give you the same errors?
-Shawn _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
