mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
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.
This commit is contained in:
parent
264dc0583c
commit
1c4f5aeefc
1 changed files with 2 additions and 1 deletions
|
@ -164,8 +164,9 @@ module Puma
|
|||
unless params['ca']
|
||||
@events.error "Please specify the SSL ca via 'ca='"
|
||||
end
|
||||
ctx.ca = params['ca']
|
||||
end
|
||||
|
||||
ctx.ca = params['ca']
|
||||
|
||||
if params['verify_mode']
|
||||
ctx.verify_mode = case params['verify_mode']
|
||||
|
|
Loading…
Add table
Reference in a new issue