Hello,
I’m using your latest version of curl to connect to ssl url - the certificate authentication works not on all defined hosts
The response on the command looks like this
./curl https://hnb-web.r-services.at:51000 -v
- Rebuilt URL to: https://hnb-web.r-services.at:51000/
- IDN support not present, can’t parse Unicode domains
- Trying 10.15.34.115…
- Connected to hnb-web.r-services.at (10.15.34.115) port 51000 (#0)
- ALPN, offering http/1.1
- Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
- successfully set certificate verify locations:
- CAfile: /usr/lpp/ported/share/curl-ca-bundle.crt
CApath: none - TLSv1.2, TLS Unknown, Unknown (22):
- TLSv1.2, TLS handshake, Client hello (1):
- SSLv2, Unknown (22):
- TLSv1.2, TLS handshake, Server hello (2):
- SSLv2, Unknown (22):
- TLSv1.2, TLS handshake, CERT (11):
- SSLv2, Unknown (22):
- TLSv1.2, TLS handshake, Server finished (14):
- SSLv2, Unknown (22):
- TLSv1.2, TLS handshake, Client key exchange (16):
- SSLv2, Unknown (20):
- TLSv1.2, TLS change cipher, Client hello (1):
- SSLv2, Unknown (22):
- TLSv1.2, TLS handshake, Finished (20):
- SSLv2, Unknown (20):
- TLSv1.2, TLS change cipher, Client hello (1):
- SSLv2, Unknown (22):
- TLSv1.2, TLS handshake, Finished (20):
- SSL connection using TLSv1.2 / AES256-SHA
- ALPN, server did not agree to a protocol
- Server certificate:
-
subject: C=AT; ST=Vienna; L=Vienna; O=xxxxxxxxxxxx GmbH; OU=Web Services; CN=xxx-web.r-services.at -
start date: 2013-06-14 08:29:06 GMT -
expire date: 2018-06-13 08:29:06 GMT - SSL: certificate subject name ‘▒▒▒
▒▒▒K▒▒▒▒▒▒▒▒▒K▒▒’ does not match target host name ‘hnb-web.r-services.at’ - Closing connection 0
- SSLv2, Unknown (21):
- TLSv1.2, TLS alert, Client hello (1):
curl: (51) SSL: certificate subject name ‘▒▒▒▒▒▒K▒▒▒▒▒▒▒▒▒K▒▒’ does not match target host name ‘hnb-web.r-services.at’
with other hostname it works. I think the problem seems not to be the certificate but something with ebcdic ascii conversion. Any suggestion how to fix that.
thank you
Andi O.





