github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/openapi-generator/templates/ruby-client/configuration_tls_faraday_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 :ssl_verify
     9  
    10      ### TLS/SSL setting
    11      # Any `OpenSSL::SSL::` constant (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL.html)
    12      #
    13      # @note Do NOT set it to false in production code, otherwise you would face multiple types of cryptographic attacks.
    14      #
    15      attr_accessor :ssl_verify_mode
    16  
    17      ### TLS/SSL setting
    18      # Set this to customize the certificate file to verify the peer.
    19      #
    20      # @return [String] the path to the certificate file
    21      attr_accessor :ssl_ca_file
    22  
    23      ### TLS/SSL setting
    24      # Client certificate file (for client certificate)
    25      attr_accessor :ssl_client_cert
    26  
    27      ### TLS/SSL setting
    28      # Client private key file (for client certificate)
    29      attr_accessor :ssl_client_key