We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5011290 commit e9012c9Copy full SHA for e9012c9
src/OpenTelemetry.Exporter.OpenTelemetryProtocol/Implementation/OtlpCertificateManager.cs
@@ -35,13 +35,13 @@ public static X509Certificate2 LoadCaCertificate(string caCertificatePath)
35
36
try
37
{
38
- var certificate = X509Certificate2.CreateFromPemFile(caCertificatePath);
+ var caCertificate = X509Certificate2.CreateFromPemFile(caCertificatePath);
39
40
OpenTelemetryProtocolExporterEventSource.Log.MtlsCertificateLoaded(
41
CaCertificateType,
42
caCertificatePath);
43
44
- return certificate;
+ return caCertificate;
45
}
46
catch (Exception ex)
47
0 commit comments