Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Titanium-Web-Proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Titanium-Web-Proxy
Commits
cd90c5b7
Commit
cd90c5b7
authored
Aug 06, 2018
by
justcoding121
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#468 switch bouncy castle as default until fix is found
parent
8e279cb7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
CertificateManager.cs
Titanium.Web.Proxy/Network/CertificateManager.cs
+8
-5
No files found.
Titanium.Web.Proxy/Network/CertificateManager.cs
View file @
cd90c5b7
...
...
@@ -19,14 +19,17 @@ namespace Titanium.Web.Proxy.Network
public
enum
CertificateEngine
{
/// <summary>
/// Uses Windows Certification Generation API.
/// Uses BouncyCastle 3rd party library.
/// Default.
/// </summary>
DefaultWindows
=
0
,
BouncyCastle
=
0
,
/// <summary>
/// Uses BouncyCastle 3rd party library.
/// Uses Windows Certification Generation API.
/// Bug #468 Reported.
/// </summary>
BouncyCastle
=
1
DefaultWindows
=
1
}
/// <summary>
...
...
@@ -93,7 +96,7 @@ namespace Titanium.Web.Proxy.Network
RootCertificateIssuerName
=
rootCertificateIssuerName
;
}
CertificateEngine
=
RunTime
.
IsWindows
?
CertificateEngine
.
DefaultWindows
:
CertificateEngine
.
BouncyCastle
;
CertificateEngine
=
CertificateEngine
.
BouncyCastle
;
certificateCache
=
new
ConcurrentDictionary
<
string
,
CachedCertificate
>();
pendingCertificateCreationTasks
=
new
ConcurrentDictionary
<
string
,
Task
<
X509Certificate2
>>();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment