Closed dmikurube closed 1 year ago
Does database_ssl_path_ca_cert_pem
and database_ssl_path_client_key_pem
exist on the config JSON file?
They do not exist in the config JSON by default, but some database installations (ex. recent Amazon RDS) require SSL while certificates are not mandatory for them. I wanted to just set options.setSslMode(SslMode.PREFERRED)
, but no certificates.
Thanks!
The database certs are not always mandatory even when the SSL mode is preferred. This pull request sets the certs only when specified.