diff options
author | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-06-24 10:55:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 10:55:35 +0300 |
commit | a109228a041fa29a66451fec4860decc079525a6 (patch) | |
tree | fb8f2c5c1a7f6adc32f2fb49c19039efbacebc75 /src/etc/rsyslog.conf | |
parent | 1ab97c5714d0e70fd8b23bac576ce459926e25b3 (diff) | |
download | vyos-1x-a109228a041fa29a66451fec4860decc079525a6.tar.gz vyos-1x-a109228a041fa29a66451fec4860decc079525a6.zip |
pki: T4026: Only emit private keys when available (#3667)
* 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/etc/rsyslog.conf')
0 files changed, 0 insertions, 0 deletions