Class: Google::Cloud::Ces::V1::TlsConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Ces::V1::TlsConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/ces/v1/common.rb
Overview
The TLS configuration.
Defined Under Namespace
Classes: CaCert
Instance Attribute Summary collapse
Instance Attribute Details
#ca_certs ⇒ ::Array<::Google::Cloud::Ces::V1::TlsConfig::CaCert>
Returns Required. Specifies a list of allowed custom CA certificates for HTTPS verification.
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'proto_docs/google/cloud/ces/v1/common.rb', line 134 class TlsConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The CA certificate. # @!attribute [rw] display_name # @return [::String] # Required. The name of the allowed custom CA certificates. This # can be used to disambiguate the custom CA certificates. # @!attribute [rw] cert # @return [::String] # Required. The allowed custom CA certificates (in DER format) for # HTTPS verification. This overrides the default SSL trust store. If this # is empty or unspecified, CES will use Google's default trust # store to verify certificates. N.B. Make sure the HTTPS server # certificates are signed with "subject alt name". For instance a # certificate can be self-signed using the following command: # # ``` # openssl x509 -req -days 200 -in example.com.csr \ # -signkey example.com.key \ # -out example.com.crt \ # -extfile <(printf "\nsubjectAltName='DNS:www.example.com'") # ``` class CaCert include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |