Summary
Add operational commands to display PKI private keys and certificate bundles in PEM format
Use case
OpenConnect client requires a private key in addition to the certificate, currently, VyOS provides operational commands to display CA and certificates in PEM format, for example:
show pki ca <name> pem
show pki certificate <name> pem
It would be useful to add a system option to:
- display a private key in PEM format
- display a bundled PEM (certificate + private key)
Additional information
private key in PEM
-----BEGIN PRIVATE KEY----- ... -----END PRIVATE KEY-----
show pki certificate <name> private-key pem
bundled PEM (certificate + private key)
-----BEGIN PRIVATE KEY----- ... -----END PRIVATE KEY----- -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----
show pki certificate <name> bundled pem