Skip to content

Commit

Permalink
Also give the option of using a CA File on platforms that don't use a…
Browse files Browse the repository at this point in the history
… CA path by default (FreeBSD, in this case)
  • Loading branch information
meanphil committed May 8, 2012
1 parent 0f6c6bf commit 7845f94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/omniauth/strategies/cas/service_ticket_validator.rb
Expand Up @@ -81,6 +81,7 @@ def get_service_response_body
if http.use_ssl?
http.verify_mode = OpenSSL::SSL::VERIFY_NONE if @options.disable_ssl_verification?
http.ca_path = @options.ca_path
http.ca_file = @options.ca_file
end
http.start do |c|
response = c.get "#{@uri.path}?#{@uri.query}", VALIDATION_REQUEST_HEADERS.dup
Expand Down

0 comments on commit 7845f94

Please sign in to comment.