Hello.
I'm having an SSL handshake error when Oracle is configured for TCPS and my ASP.NET core 6 app is trying to connect.
How can I write a trace file in the app to show what the problem with the certificates is exactly?
I'm using Oracle.ManagedDataAccess.Core 3.21.100
With ASP.NET Framework 4 I could have done it by setting my web.config like this:
<oracle.manageddataaccess.client>
<version number="*">
<settings>
<setting name="WALLET_LOCATION" value=" C:\Oracle\Wallet"/>
<setting name="TraceLevel" value="7"/>
<setting name="TraceOption" value="1"/>
<setting name="TraceFileLocation" value="C:\trace"/>
</settings>
</version>
</oracle.manageddataaccess.client>
<system.diagnostics>
<trace autoflush="true"/>
<sharedListeners>
<add name="file" initializeData="c:\trace\network.log" type="System.Diagnostics.TextWriterTraceListener"/>
</sharedListeners>
<sources>
<source name="System.Net" switchValue="Verbose">
<listeners>
<add name="file"/>
</listeners>
</source>
</sources>
</system.diagnostics>
But I don't know how to do it with ASP.NET core 6 since there is no web.config file.