github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/openapi-generator/templates/ruby-client/configuration_tls_typhoeus_partial.mustache (about) 1 ### TLS/SSL setting 2 # Set this to false to skip verifying SSL certificate when calling API from https server. 3 # Default to true. 4 # 5 # @note Do NOT set it to false in production code, otherwise you would face multiple types of cryptographic attacks. 6 # 7 # @return [true, false] 8 attr_accessor :verify_ssl 9 10 ### TLS/SSL setting 11 # Set this to false to skip verifying SSL host name 12 # Default to true. 13 # 14 # @note Do NOT set it to false in production code, otherwise you would face multiple types of cryptographic attacks. 15 # 16 # @return [true, false] 17 attr_accessor :verify_ssl_host 18 19 ### TLS/SSL setting 20 # Set this to customize the certificate file to verify the peer. 21 # 22 # @return [String] the path to the certificate file 23 # 24 # @see The `cainfo` option of Typhoeus, `--cert` option of libcurl. Related source code: 25 # https://github.com/typhoeus/typhoeus/blob/master/lib/typhoeus/easy_factory.rb#L145 26 attr_accessor :ssl_ca_cert 27 28 ### TLS/SSL setting 29 # Client certificate file (for client certificate) 30 attr_accessor :cert_file 31 32 ### TLS/SSL setting 33 # Client private key file (for client certificate) 34 attr_accessor :key_file