1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Merge pull request #794 from peterkeen/patch-1

Allow setting CA certificates without setting a verify mode
This commit is contained in:
Evan Phoenix 2015-11-06 09:59:21 -08:00
commit cba88bbc80

View file

@ -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']