(cls)
| 1796 | class BaseTestSSLConnection(tb.ConnectedTestCase): |
| 1797 | @classmethod |
| 1798 | def get_server_settings(cls): |
| 1799 | conf = super().get_server_settings() |
| 1800 | conf.update({ |
| 1801 | 'ssl': 'on', |
| 1802 | 'ssl_cert_file': SSL_CERT_FILE, |
| 1803 | 'ssl_key_file': SSL_KEY_FILE, |
| 1804 | 'ssl_ca_file': CLIENT_CA_CERT_FILE, |
| 1805 | }) |
| 1806 | if cls.cluster.get_pg_version() >= (12, 0): |
| 1807 | conf['ssl_min_protocol_version'] = 'TLSv1.2' |
| 1808 | conf['ssl_max_protocol_version'] = 'TLSv1.2' |
| 1809 | |
| 1810 | return conf |
| 1811 | |
| 1812 | @classmethod |
| 1813 | def setup_cluster(cls): |
nothing calls this directly
no test coverage detected