Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
C#: Create certificate from string, rather than file
  • Loading branch information
mbg committed Dec 6, 2024
commit 32d757f65c9527e9d03714d3d2e2f82b5f1d05e4
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class DependabotProxy : IDisposable

logger.LogInfo($"Stored Dependabot proxy certificate at {result.CertificatePath}");

result.Certificate = new X509Certificate2(result.CertificatePath);
result.Certificate = X509Certificate2.CreateFromPem(cert);
}

return result;
Expand Down