PG_AUTOCTL_DISABLE_SSL(1)
π pg_autoctl disable ssl β the manual, but make it cute
okay bestie, so this is the man page for pg_autoctl disable ssl, living in the pg_auto_failover manual. Yes, it's a mouthful, no, we're not skipping anything. Buckle up π
β¨ NAME β¨
pg_autoctl disable ssl β pg_autoctl disable ssl
pg_autoctl disable ssl β Disable SSL configuration on this node
πΈ SYNOPSIS πΈ
So here's the vibe: you can literally manage your Postgres SSL settings with the pg_autoctl command. Both at the moment you run pg_autoctl create postgres, and then again later when you change your mind and wanna update those SSL settings at run-time. Very demure, very flexible. π¦
usage: pg_autoctl disable ssl [ --pgdata ] [ --json ]
--pgdata path to data directory
--ssl-self-signed setup network encryption using self signed certificates (does NOT protect against MITM)
--ssl-mode use that sslmode in connection strings
--ssl-ca-file set the Postgres ssl_ca_file to that file path
--ssl-crl-file set the Postgres ssl_crl_file to that file path
--no-ssl don't disable network encryption (NOT recommended, prefer --ssl-self-signed)
--server-key set the Postgres ssl_key_file to that file path
--server-cert set the Postgres ssl_cert_file to that file path
π OPTIONS π
--pgdataβ where the Postgres node that's being managed locally lives. It defaults to the environment variablePGDATA. And bestie, you can use--monitorto connect to a monitor from literally anywhere, instead of the monitor URI that a local Postgres node managed withpg_autoctlwould use. π--ssl-self-signedβ generates SSL self-signed certificates to give you network encryption. Real talk though: this does NOT protect against man-in-the-middle kinds of attacks. If you want the full tea, see Security settings forpg_auto_failoverfor more about our SSL settings. π--ssl-modeβ the SSL Mode thatpg_autoctluses when it's connecting to other nodes, including when it's connecting for streaming replication. iykyk β¨--ssl-ca-fileβ sets the Postgresssl_ca_fileto that file path. Periodt.--ssl-crl-fileβ sets the Postgresssl_crl_fileto that file path. π--no-sslβ don't disable network encryption. This is not recommended, prefer--ssl-self-signedinstead. π--server-keyβ sets the Postgresssl_key_fileto that file path. π--server-certβ sets the Postgresssl_cert_fileto that file path. π
π§ ENVIRONMENT π§
PGDATAβ Postgres directory location. Can be used instead of the--pgdataoption. πPG_AUTOCTL_MONITORβ Postgres URI to connect to the monitor node, can be used instead of the--monitoroption. π«ΆXDG_CONFIG_HOMEβ thepg_autoctlcommand stores its configuration files in the standard placeXDG_CONFIG_HOME. See the XDG Base Directory Specification. πXDG_DATA_HOMEβ thepg_autoctlcommand stores its internal states files in the standard placeXDG_DATA_HOME, which defaults to~/.local/share. See the XDG Base Directory Specification. π
π AUTHOR π
Microsoft
π COPYRIGHT π
Copyright (c) Microsoft Corporation. All rights reserved.
and that's the whole thing, no crumbs left π version 2.1, dated Jan 18, 2025. slay, you read the entire man page, main character energy fr fr πΈβ¨
π¦ where this page comes from
- fedora 43: pg_auto_failover 2.1-6.fc42 Β· Apache-1.0
- fedora 44: pg_auto_failover 2.1-6.fc42 Β· Apache-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms