Skip to content

Commit 1c4f5ae

Browse files
committed
Allow setting ca without setting a verify mode
The CA setting is how we can include intermediate keys, but the binder won't set it unless you force client certs.
1 parent 264dc05 commit 1c4f5ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/puma/binder.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,9 @@ def parse(binds, logger)
164164
unless params['ca']
165165
@events.error "Please specify the SSL ca via 'ca='"
166166
end
167-
ctx.ca = params['ca']
168167
end
168+
169+
ctx.ca = params['ca']
169170

170171
if params['verify_mode']
171172
ctx.verify_mode = case params['verify_mode']

0 commit comments

Comments
 (0)