summaryrefslogtreecommitdiff
path: root/src/conf_mode/service_dns_forwarding.py
diff options
context:
space:
mode:
authormergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-06-17 19:25:44 +0300
committerGitHub <noreply@github.com>2024-06-17 19:25:44 +0300
commitc7313efaf12d88c637281604abbf5aff063ed8bd (patch)
treeb7c499352104f5a40b933d78fedf72b9063358e0 /src/conf_mode/service_dns_forwarding.py
parent249fb1362490b961e0c0031fb29defb654fbaf3f (diff)
downloadvyos-1x-c7313efaf12d88c637281604abbf5aff063ed8bd.tar.gz
vyos-1x-c7313efaf12d88c637281604abbf5aff063ed8bd.zip
pki: T4026: Only emit private keys when available (#3669)
* install_certificate() code path handles private_key=None & key_passphrase=None OK already * file and console output paths will error trying to encode None as a key * This is only an issue for a couple of the generate_*_sign() functions, where having a null private key is possible * Self-signing and CA creation always generate a private key * Certreqs will generate a private key if not already provided * Do not prompt for a private key passphrase if we aren't giving back a private key (cherry picked from commit d2cf8eeee9053d04f34c5e8a22373290d078ab37) Co-authored-by: Andrew Topp <andrewt@telekinetica.net>
Diffstat (limited to 'src/conf_mode/service_dns_forwarding.py')
0 files changed, 0 insertions, 0 deletions