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
0b64df4f
Commit
0b64df4f
authored
Nov 19, 2017
by
Honfika
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FriendlyName on Unix #324
parent
339c7d8d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
BCCertificateMaker.cs
Titanium.Web.Proxy/Network/Certificate/BCCertificateMaker.cs
+8
-1
No files found.
Titanium.Web.Proxy/Network/Certificate/BCCertificateMaker.cs
View file @
0b64df4f
...
@@ -126,7 +126,14 @@ namespace Titanium.Web.Proxy.Network.Certificate
...
@@ -126,7 +126,14 @@ namespace Titanium.Web.Proxy.Network.Certificate
// Set private key onto certificate instance
// Set private key onto certificate instance
var
x509Certificate
=
new
X509Certificate2
(
certificate
.
GetEncoded
());
var
x509Certificate
=
new
X509Certificate2
(
certificate
.
GetEncoded
());
x509Certificate
.
PrivateKey
=
DotNetUtilities
.
ToRSA
(
rsaparams
);
x509Certificate
.
PrivateKey
=
DotNetUtilities
.
ToRSA
(
rsaparams
);
try
{
x509Certificate
.
FriendlyName
=
subjectName
;
x509Certificate
.
FriendlyName
=
subjectName
;
}
catch
(
PlatformNotSupportedException
)
{
// The FriendlyName value cannot be set on Unix.
}
return
x509Certificate
;
return
x509Certificate
;
}
}
...
...
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