summaryrefslogtreecommitdiff
path: root/smoketest/bin/vyos-smoketest
diff options
context:
space:
mode:
authorAndrew Topp <andrewt@telekinetica.net>2024-06-16 13:24:28 +1000
committerAndrew Topp <andrewt@telekinetica.net>2024-06-16 13:24:28 +1000
commitd2cf8eeee9053d04f34c5e8a22373290d078ab37 (patch)
tree888922fd9551ff233af63e60afe8cb31c8775a3f /smoketest/bin/vyos-smoketest
parent6129138a39c4abb57c5f985f2a809706bac616e8 (diff)
downloadvyos-1x-d2cf8eeee9053d04f34c5e8a22373290d078ab37.tar.gz
vyos-1x-d2cf8eeee9053d04f34c5e8a22373290d078ab37.zip
pki: T4026: Only emit private keys when available
* 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
Diffstat (limited to 'smoketest/bin/vyos-smoketest')
0 files changed, 0 insertions, 0 deletions