Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
key-storage-agent
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Code
key-storage-agent
Commits
43fe115f
Commit
43fe115f
authored
6 years ago
by
Damyan Mitev
Browse files
Options
Downloads
Patches
Plain Diff
Fix stupid bug
parent
971cafe9
Branches
SSA-4-sign_client_cert_with_server_cert
Branches containing commit
Tags
Tags containing commit
1 merge request
!7
Ssa 4 sign client cert with server cert
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
handler/generate_certificate.go
+1
-1
1 addition, 1 deletion
handler/generate_certificate.go
with
1 addition
and
1 deletion
handler/generate_certificate.go
+
1
−
1
View file @
43fe115f
...
...
@@ -104,7 +104,7 @@ func generateCertificate(publicKeyBytes []byte, caCertFilePath string, caPrivate
NotBefore
:
notBeforeTime
,
NotAfter
:
notAfterTime
,
KeyUsage
:
x509
.
KeyUsageDigitalSignature
|
x509
.
KeyUsageKeyEncipherment
|
x509
.
KeyUsageDataEncipherment
|
x509
.
KeyUsageCertSign
|
x509
.
KeyUsageCRLSign
,
ExtKeyUsage
:
[]
x509
.
ExtKeyUsage
{
x509
.
ExtKeyUsageServerAuth
|
x509
.
ExtKeyUsageEmailProtection
|
x509
.
ExtKeyUsageTimeStamping
},
ExtKeyUsage
:
[]
x509
.
ExtKeyUsage
{
x509
.
ExtKeyUsageServerAuth
,
x509
.
ExtKeyUsageEmailProtection
,
x509
.
ExtKeyUsageTimeStamping
},
BasicConstraintsValid
:
true
,
IsCA
:
true
,
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment