module HTTParty::ClassMethods
def ssl_ca_file(path)
ssl_ca_file '/etc/ssl/certs/ca-certificates.crt'
include HTTParty
class Foo
ssl_ca_path for verification to succeed.
certificates along a chain must be available in ssl_ca_file or
Setting this option enables certificate verification. All
should contain one or more certificates in PEM format.
Allows setting an OpenSSL certificate authority file. The file
def ssl_ca_file(path) default_options[:ssl_ca_file] = path end