This PR adds support for generated PKI objects to be directly installed into an active config session.
From op-mode:
[email protected]:~$ generate pki ca install test Enter private key type: [rsa, dsa, ec] (Default: rsa) ec ... You are not in configure mode, commands to install manually from configure mode: set pki ca test certificate '...' set pki ca test private key '...'
From conf mode:
[email protected]:~$ conf WARNING: You are currently configuring a live-ISO environment, changes will not persist until installed [edit] [email protected]# run generate pki ca install test Enter private key type: [rsa, dsa, ec] (Default: rsa) ec ... 2 value(s) installed. Use "compare" to see the pending changes, and "commit" to apply. [edit] [email protected]# comp +pki { + ca test { + certificate ... + private { + key ... + } + } +}