Page MenuHomeVyOS Platform

Running set pki ca NAME certificate with a name with spaces breaks the config
Open, Requires assessmentPublic


When importing a CA certificate, it is possible to import like this:

set pki ca "My Root Certificate" certificate BASE64DATA

This works fine, and saves fine.
However, when saving the config and restarting, the config fails to load, since it is saved like this, which seems to be invalid:

pki {
    ca My Root Certificate {
        certificate "BASE64DATA"

It is also possible to to use dots when importing a certificate - not sure if that is causing problems.

It seems like some input validation is missing.


Difficulty level
Unknown (require assessment)
- VyOS 1.4-rolling-202311151958
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)