BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
71c36c5b
Commit
71c36c5b
authored
Jun 09, 2017
by
Michael Kozono
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add warning about certificate verification on load
parent
72d8b1e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
1_settings.rb
config/initializers/1_settings.rb
+10
-1
No files found.
config/initializers/1_settings.rb
View file @
71c36c5b
...
...
@@ -153,7 +153,16 @@ if Settings.ldap['enabled'] || Rails.env.test?
# Certificates are not verified for backwards compatibility.
# This default should be flipped to true in 9.5.
server
[
'verify_certificates'
]
=
false
if
server
[
'verify_certificates'
].
nil?
if
server
[
'verify_certificates'
].
nil?
server
[
'verify_certificates'
]
=
false
message
=
<<-
MSG
.
strip_heredoc
LDAP SSL certificate verification is disabled for backwards-compatibility.
Please add the "verify_certificates" option to gitlab.yml for each LDAP
server. Certificate verification will be enabled by default in GitLab 9.5.
MSG
Rails
.
logger
.
warn
(
message
)
end
end
end
...
...
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