# Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::SslConfig (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.1 1.2.2 1.1.0 1.0.1 0.8.0 0.7.2 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.5 Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::SslConfig.

SSL configuration information.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #ca_certificate

    def ca_certificate() -> ::String

**Returns**

- (::String) --- Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.

### #ca_certificate=

    def ca_certificate=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.
**Returns**

- (::String) --- Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.

### #client_certificate

    def client_certificate() -> ::String

**Returns**

- (::String) --- Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.If this field is used then the 'client_key' field is mandatory.

### #client_certificate=

    def client_certificate=(value) -> ::String

**Parameter**

- **value** (::String) --- Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.If this field is used then the 'client_key' field is mandatory.
**Returns**

- (::String) --- Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.If this field is used then the 'client_key' field is mandatory.

### #client_key

    def client_key() -> ::String

**Returns**

- (::String) --- Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' field is mandatory.

### #client_key=

    def client_key=(value) -> ::String

**Parameter**

- **value** (::String) --- Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' field is mandatory.
**Returns**

- (::String) --- Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' field is mandatory.

### #type

    def type() -> ::Google::Cloud::CloudDMS::V1::SslConfig::SslType

**Returns**

- ([::Google::Cloud::CloudDMS::V1::SslConfig::SslType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/Google-Cloud-CloudDMS-V1-SslConfig-SslType)) --- Output only. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'.