Forum Stats

  • 3,824,874 Users
  • 2,260,435 Discussions
  • 7,896,336 Comments

Discussions

ORA-00542: Failure during SSL handshake

user4784967
user4784967 Member Posts: 2 Green Ribbon

Hello,

I have to change my c# project the Oracle-Database access by SSL (wallet). 

I get the certificate for the wallet and create the wallet by myself:

orapki wallet create -wallet walletpath -pw PASSWORT -auto_login

orapki wallet add -wallet walletpath -trusted_cert -cert certificate.pem

mkstore -wrl walletpath -createCredential tnsalias username password

Without SSL all works fine. But with SSL and a wallet I get the error "ORA-00542" (see the Oracle trace file). It sounds like a problem with the certificate. Is the certificate wrong or the creation of the wallet?

I have tried ODP.NET 21.6.1 and 19.5.1 (Oracle.ManagedDataAccess)

Thanks for any help


Answers