Specifying server name in certificate for TLS connection
Sometimes the hostname used to connect to a server differs from the subject name in the TLS certificate presented by this server (for valid reasons). Some JDBC drivers allow for that by providing a connection parameter where the expected name in certificate is specified (oracle.net.ssl_server_cert_dn for Oracle, hostNameInCertificate for MS SQL Server). I can't find a way to specify it for MySQL Connector/J. Is there any way to provide this server name, so that verification with sslMode=VERIFY_IDENTITY passes?
Subject
Written By
Posted
Specifying server name in certificate for TLS connection
November 21, 2024 12:28PM
November 22, 2024 08:05AM
November 22, 2024 08:19AM
November 22, 2024 10:04AM
Sorry, only registered users may post in this forum.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.