Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
quant
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danet
quant
Commits
f78f77dd
Commit
f78f77dd
authored
7 months ago
by
Malte Bauch
Committed by
Neil-Jocelyn Schark
7 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Add additional TLS config option: InsecureSkipVerify
See merge request
!207
parent
9a9029b9
No related branches found
Branches containing commit
No related tags found
1 merge request
!207
Add additional TLS config option: InsecureSkipVerify
Pipeline
#223551
passed
7 months ago
Stage: build
Stage: build-integration-test
Stage: test
Stage: analyze
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
goKMS/config/config.go
+5
-4
5 additions, 4 deletions
goKMS/config/config.go
goKMS/kms/tls/tls.go
+4
-3
4 additions, 3 deletions
goKMS/kms/tls/tls.go
with
9 additions
and
7 deletions
goKMS/config/config.go
+
5
−
4
View file @
f78f77dd
...
...
@@ -31,10 +31,11 @@ type Peer struct {
}
type
TLSConfig
struct
{
Active
bool
`yaml:"Active"`
CAFile
string
`yaml:"CAFile"`
CertFile
string
`yaml:"CertFile"`
KeyFile
string
`yaml:"KeyFile"`
Active
bool
`yaml:"Active"`
InsecureSkipVerify
bool
`yaml:"InsecureSkipVerify"`
CAFile
string
`yaml:"CAFile"`
CertFile
string
`yaml:"CertFile"`
KeyFile
string
`yaml:"KeyFile"`
}
type
QuantumModule
struct
{
...
...
This diff is collapsed.
Click to expand it.
goKMS/kms/tls/tls.go
+
4
−
3
View file @
f78f77dd
...
...
@@ -84,8 +84,9 @@ func GenerateTLSLibraryConfig(tlsConfig config.TLSConfig) (*tls.Config, error) {
}
return
&
tls
.
Config
{
MinVersion
:
tls
.
VersionTLS13
,
RootCAs
:
cp
,
Certificates
:
[]
tls
.
Certificate
{
cert
},
MinVersion
:
tls
.
VersionTLS13
,
RootCAs
:
cp
,
Certificates
:
[]
tls
.
Certificate
{
cert
},
InsecureSkipVerify
:
tlsConfig
.
InsecureSkipVerify
,
},
nil
}
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