Topic: [SOLVED] altname check failure?
Dear Team,
Does wolfSSL have, in this case, any altname check issues?
wget http://www.startssl.com/certs/ca.pem
examples/client/client -p 443 -m -v 1 -A ./ca.pem -h jabber.se
Fails with:
err = -322, peer subject name mismatch
wolfSSL error: SSL_connect failed
While
examples/client/client -p 443 -m -v 1 -A ./ca.pem -h www.jabber.se
Works.
peer's cert info:
issuer : /C=IL/O=StartCom Ltd./OU=Secure Digital Certificate Signing/CN=StartCom Class 1 Primary Intermediate Server CA
subject: /C=SE/CN=www.jabber.se/emailAddress=postmaster@jabber.se
altname = jabber.se
altname = www.jabber.se
serial number:10:36:d9
SSL version is TLSv1
SSL cipher suite is TLS_DHE_RSA_WITH_AES_256_CBC_SHA
Any ideas why "altname = jabber.se" is being ignored?
Thank you in advance for help
Hans-Juergen Petrich