import-export-tls-values.md
-
PREFER: Try TLS but fall back to plaintext if TLS fails. -
REQUIRE: Use TLS and fail if the server does not support TLS. -
VERIFY_CA: Require TLS (as with REQUIRE), and also validate the other server's certificate using the CA specified by the "server" TLS Configuration's CA certificates (in this case, "ca_cert" and "ica_cert"):=> SELECT name, certificate, ca_certificate, mode FROM tls_configurations WHERE name = 'server'; name | certificate | ca_certificate | mode --------+------------------+--------------------+----------- server | server_cert | ca_cert,ica_cert | VERIFY_CA (1 row) -
VERIFY_FULL: Require TLS and validate the certificate (as with VERIFY_CA), and also validate the server certificate's hostname. -
REQUIRE_FORCE,VERIFY_CA_FORCE, andVERIFY_FULL_FORCE: Same behavior asREQUIRE,VERIFY_CA, andVERIFY_FULL, respectively, and cannot be overridden by CONNECT TO VERTICA.