1PG_AUTOCTL DISABLE SSL(1) pg_auto_failover PG_AUTOCTL DISABLE SSL(1)
2
3
4
6 pg_autoctl disable ssl - pg_autoctl disable ssl
7
8 pg_autoctl disable ssl - Disable SSL configuration on this node
9
11 It is possible to manage Postgres SSL settings with the pg_autoctl com‐
12 mand, both at pg_autoctl_create_postgres time and then again to change
13 your mind and update the SSL settings at run-time.
14
15 usage: pg_autoctl disable ssl [ --pgdata ] [ --json ]
16
17 --pgdata path to data directory
18 --ssl-self-signed setup network encryption using self signed certificates (does NOT protect against MITM)
19 --ssl-mode use that sslmode in connection strings
20 --ssl-ca-file set the Postgres ssl_ca_file to that file path
21 --ssl-crl-file set the Postgres ssl_crl_file to that file path
22 --no-ssl don't disable network encryption (NOT recommended, prefer --ssl-self-signed)
23 --server-key set the Postgres ssl_key_file to that file path
24 --server-cert set the Postgres ssl_cert_file to that file path
25
27 --pgdata
28 Location of the Postgres node being managed locally. Defaults to
29 the environment variable PGDATA. Use --monitor to connect to a
30 monitor from anywhere, rather than the monitor URI used by a lo‐
31 cal Postgres node managed with pg_autoctl.
32
33 --ssl-self-signed
34 Generate SSL self-signed certificates to provide network encryp‐
35 tion. This does not protect against man-in-the-middle kinds of
36 attacks. See security for more about our SSL settings.
37
38 --ssl-mode
39 SSL Mode used by pg_autoctl when connecting to other nodes, in‐
40 cluding when connecting for streaming replication.
41
42 --ssl-ca-file
43 Set the Postgres ssl_ca_file to that file path.
44
45 --ssl-crl-file
46 Set the Postgres ssl_crl_file to that file path.
47
48 --no-ssl
49 Don't disable network encryption. This is not recommended, pre‐
50 fer --ssl-self-signed.
51
52 --server-key
53 Set the Postgres ssl_key_file to that file path.
54
55 --server-cert
56 Set the Postgres ssl_cert_file to that file path.
57
59 Microsoft
60
62 Copyright (c) Microsoft Corporation. All rights reserved.
63
64
65
66
671.6 Nov 24, 2021 PG_AUTOCTL DISABLE SSL(1)