Certificates system-generated-certificate not available on 1.4

Hi,

I want to test the API from Vyos but the commands not available on version 1.4
I want to use a self generated certificate.

Documentation is uses the latest version

https://docs.vyos.io/en/latest/configuration/service/https.html#http-api

set service https certificates system-generated-certificate
set service https certificates system-generated-certificate lifetime 1024

see screenshot

To test API, for simplicity, you can do as below, it works for me.

configure 
set service https api keys id MY-HTTPS-API-ID key MY-HTTPS-API-PLAINTEXT-KEY
commit 
save

curl -k --location --request POST 'https://${IP-VyOS}/configure' \
--form data='{"op": "set", "path": ["interfaces", "dummy", "dum1", "address", "10.11.0.1/32"]}' \
--form key='MY-HTTPS-API-PLAINTEXT-KEY'

If you need certificate, you can consider to use Certbot Lets Encrypt.

set service https certificates certbot domain-name api.example.com
set service https certificates certbot email my-email@example.com
set service https virtual-host api server-name api.example.com
commit
save

https://docs.vyos.io/en/equuleus/automation/vyos-api.html#configure
https://docs.vyos.io/en/latest/configuration/service/https.html#http-api

will not work, i have no internet access for this vyos.

vyos@r14# set service https certificates certificate 
Possible completions:
   <text>               Name of certificate in PKI configuration
   cert           

There is a documentation for PKI