Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
config/initializers/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