Resources

Install Certificate from the CLI

To install a certificate on the Makito X Series via the CLI, do the following:

Note

The following example shows how to install an X.509 PEM file certificate bundle that includes the key, certificate, and certificate chain.

  1. Enter the following command:
    $ certificate <cert_name> import infile=<cert_filename> type=[id|ca]

    Example:

    JavaScript
    $ certificate MakitoX1.example.com import infile=MakitoX1.pem 
    Enter Import Password:
    Certificate successfully imported from Makito X1.pem to MakitoX1.example.com
    

    The following example shows how to view the certificate:

    JavaScript
    $ certificate MakitoX1.example.com view
    Certificate:
    Data:
    Version: 3 (0x2)
    Serial Number:
    96:4b:ed:e9:62:c1:2b:a0
    Signature Algorithm: sha256WithRSAEncryption
    Issuer: CN=myca.example.com
    Validity
    Not Before: May 16 12:24:06 2012 GMT
    Not After : May 16 12:24:06 2022 GMT
    Subject: CN=MakitoX1.example.com
    Subject Public Key Info:
    Public Key Algorithm: rsaEncryption
    Public-Key: (2048 bit)
    Modulus:
    00:db:33:e4:ef:0e:e1:92:68:4a:04:b4:1e:53:1e:
    …
    Exponent: 65537 (0x10001)
    X509v3 extensions:
    X509v3 Subject Key Identifier:
    9F:E4:C3:B2:26:77:1F:AA:CA:62:B1:6D:5C:CD:27:A6:5E:40:BF:11
    X509v3 Authority Key Identifier:
    keyid: 61:30:72:5e:c0:fc:3c:30:0c:72:1f:e4:f5:a3:f9:c4:15:1b:30:0c
    X509v3 Basic Constraints:
    CA:FALSE
    X509v3 Subject Alternative Name:
    DNS:MakitoX1.example.com, DNS:MakitoX1, IP Address:192.0.2.5
    Signature Algorithm: sha256WithRSAEncryption
    61:30:72:5e:c0:fc:3c:30:0c:72:1f:e4:f5:a3:f9:c4:15:1b:
    …
    
  2. Select the certificate so that it will be used for authentication:
    $ certificate <cert_name> select

For more information see "Managing Certificates" and the CLI Command Reference in the associated User's Guide.