$ curl -v https://www.hibernate.org/dtd//hibernate-mapping-3.0.dtd
* Trying 10.4.129.28...
* TCP_NODELAY set
* Connected to www.hibernate.org (10.4.129.28) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=US; ST=North Carolina; L=Raleigh; O=Red Hat, Inc.; OU=PnT DevOps; CN=*.jboss.org
* start date: Feb 6 00:00:00 2019 GMT
* expire date: Mar 17 12:00:00 2021 GMT
* subjectAltName does not match www.hibernate.org
* SSL: no alternative certificate subject name matches target host name 'www.hibernate.org'
* Closing connection 0
curl: (60) SSL: no alternative certificate subject name matches target host name 'www.hibernate.org'
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.