Forum Discussion
dkalidan
Jun 24, 2024Copper Contributor
Dotnet core Oracle 23c SSL connection not working on Linux environment and works on Windows
Our data direct ADO.NET oracle driver is having an issue with SSL connection on Linux platform and the same connection is working on windows environment with Oracle23c server. Are there any known...
shanewatson5091
Nov 28, 2024Copper Contributor
On Linux, .NET Core relies on OpenSSL for SSL/TLS operations, while on Windows, it uses the SChannel library. Differences in configuration, supported protocols, or cipher suites may lead to compatibility issues.
Steps to Resolve:
- Check OpenSSL Version:
- Run the following command on your Linux environment:
- bashopenssl version
- Ensure you are using a version compatible with your Oracle 23c server (preferably OpenSSL 1.1.x or higher).
- Verify Supported TLS Versions:
- Confirm the TLS version used by the Oracle server (e.g., TLS 1.2 or TLS 1.3) matches the OpenSSL configuration dubai metro map on Linux https://themagistvapp.com/. You can enforce the TLS version in your code by configuring the SslProtocols:csharpSslProtocols.Tls12
- Check Cipher Suites:
- Use OpenSSL to list available cipher suites:bashopenssl ciphers -v
- Ensure the Oracle server supports at least one of these ciphers.