Skip to main content
Version: 7.26

certificate


certificate​

Type: Directory

FlagNameDescription
Kprivate-keyprivate-key
Lcrlcrl
Csmart-card-keysmart-card-key
Aauthorityauthority
Iissuedissued
Rrevokedrevoked
Eexpiredexpired
Ttrustedtrusted
aacme-managedacme-managed
Ddynamicdynamic
ArgumentTypeDescription
activeswitch
inactiveswitch
namestringName of the certificate or template in the store.
pemstringimport certificate or unencrypted private key from a pasted PEM string
trust-storealt { all: enum (all) , component: ubit (ipsec, wpa-eap, capsman, fetch, sstp, ovpn, mqtt, email, netwatch, radius, container, userman, lora, wiliot, openflow, tr069, dot1x, dns, www, api, reverse-proxy, logging) }Services that use the certificate as a trusted authority. Default: all.
digest-algorithmenum (md5 | sha1 | sha256 | sha384 | sha512)Hash algorithm of the certificate signature. Default: sha256.
trustedboolWhether services trust the certificate as an authority. A self-signed authority created on the router and an imported certificate are trusted by default. A certificate issued by an authority on the router is not.
common-namestringCommon name (CN) of the subject.
organizationstring
unitstring
localitystring
statestring
countrystring
subject-alt-nameobject { alt-name: composite { type: enum (IP | DNS | email) , value: alt { ip: alt { ipv6: ip6Addr , ip: ipAddr } , string: string } } }Subject alternative names as a list of DNS:, IP: and email: entries, for example DNS:router.example.com,IP:192.168.88.1.
key-sizeenum (prime256v1 | secp384r1 | secp521r1 | 1024 | 1536 | 2048 | 4096 | 8192) { 1024:1024, 1536:1536, 2048:2048, 4096:4096, 8192:8192 }RSA key size in bits, or the name of an elliptic curve for an EC key. Default: 2048.
key-usageubit (digital-signature, content-commitment, key-encipherment, data-encipherment, key-agreement, key-cert-sign, crl-sign, encipher-only, decipher-only, tls-server, tls-client, code-sign, email-protect, timestamp, ocsp-sign, dvcs)Allowed uses of the key. Default: digital-signature,key-encipherment,data-encipherment,key-cert-sign,crl-sign,tls-server,tls-client.
days-validnumNumber of days the certificate is valid from the time it is signed. Default: 365.
Read-only ArgumentTypeDescription
ca-crl-hoststringHost where this authority publishes its certificate revocation list.
caenumAuthority on this router that issued the certificate.
scep-urlstringURL of the SCEP server the certificate was enrolled from.
fingerprintstring
req-fingerprintstring
ca-fingerprintstring
expires-aftertimeTime left until the certificate expires.
challenge-passwordstring
domain-namesstringDomain names of the ACME certificate.
directory-urlstringDirectory URL of the ACME authority.
acme-statusstringState of the ACME client. For an issued certificate, the time of the next renewal.
revokeddateTime when the certificate was revoked.
statusstringState of the SCEP client.
issuermulti { array-id, issuer: string }Subject of the authority that issued the certificate.
key-typeenum (rsa | dsa | ec)Type of the key.
invalid-beforedateStart of the validity time.
invalid-afterdateEnd of the validity time.
serial-numberstringSerial number of the certificate.
akidstringAuthority key identifier: the subject key identifier of the issuer.
skidstringSubject key identifier.