Hi All,

I am getting the following exception when I try to connect to the database from java application via SSL.

Exception in thread "main" java.sql.SQLRecoverableException: IO Error: Mismatch with the server cert DN.

I have collected the DN value from oracle wallet manager and specified the same in the url of my java application.But I could connect to the database when the property oracle.net.ssl_server_dn_match is set to "false".

Please let me know how to fix this is issue and also is there any security issue if we set the value for the property oracle.net.ssl_server_dn_match to false.

Regards,
Kumar