PG_AUTOCTL DISABLE SSL(1)
π pg_autoctl disable ssl β the glow-down of your SSL setup
okay bestie, so this is the manual page for pg_autoctl disable ssl, part of pg_auto_failover, and no cap it's literally just: "turn off the SSL config on this node." That's it. That's the whole vibe. π¦
NAME
pg_autoctl disable ssl β pg_autoctl disable ssl
pg_autoctl disable ssl β Disable SSL configuration on this node
β¨ SYNOPSIS β¨
so here's the tea π« β you can manage your Postgres SSL settings with the pg_autoctl command, both at pg_autoctl create postgres time and later on, when you change your mind and wanna update those SSL settings at run-time. main character energy: you get to decide twice. π
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 π
one bullet per flag, we do not skip, we do not summarise, we are thorough and that's iconic π
--pgdataβ where the Postgres node being managed locally lives. Defaults to the environment variablePGDATA. Use--monitorif you wanna connect to a monitor from literally anywhere, instead of the monitor URI that a local Postgres node managed withpg_autoctluses. πΈ--ssl-self-signedβ generate SSL self-signed certificates so you get network encryption. Heads up bestie: this does not protect against man-in-the-middle kinds of attacks. Go read Security settings for pg_auto_failover if you want more about our SSL settings. π--ssl-modeβ the SSL Modepg_autoctluses when it's connecting to other nodes, including when it's connecting for streaming replication. π₯--ssl-ca-fileβ set the Postgresssl_ca_fileto that file path. π--ssl-crl-fileβ set the Postgresssl_crl_fileto that file path. π--no-sslβ don't disable network encryption. This is not recommended, prefer--ssl-self-signed. (yes, that's what it says. we are simply relaying the lore. π)--server-keyβ set the Postgresssl_key_fileto that file path. π--server-certβ set the Postgresssl_cert_fileto that file path. π
π ENVIRONMENT π
the env vars, the moment you've all been waiting for π«Ά
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 page, bestie. go forth, disable that SSL, be safe about it (seriously β--ssl-self-signedover--no-ssl, we beg you π).
k byeee πβ¨ β this was pg_autoctl disable ssl, version 2.2, dated Apr 07, 2025, from the pg_auto_failover manual. slay. ππ¦πΈ
π¦ where this page comes from
- debian trixie: pg-auto-failover-cli 2.2-2 Β· PostgreSQL
- ubuntu questing: pg-auto-failover-cli 2.2-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms