How to import Certificate using CLI?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to import Certificate using CLI?

L1 Bithead

Hello,

I'am trying to imort a certificat using CLI (set shared certificate AVF-ROOT-CA-2014 public-key command) but the device is only taking the first line of the public key. So i'am searching for the correct way to issue the command so that the CLI tkae the entire public Key.

Thanks for your help.

1 REPLY 1

L7 Applicator

Hello eoop,

These are the available command to import certificate from CLI:

scp import certificate from <value> remote-port <1-65535> source-ip <ip/netmask> certificate-name <value> passphrase <value> format <pkcs12|pem>

scp import private-key from <value> remote-port <1-65535> source-ip <ip/netmask> passphrase <value> certificate-name <value> format <pkcs12|pem>

scp import keypair from <value> remote-port <1-65535> source-ip <ip/netmask> passphrase <value> certificate-name <value> format <pkcs12|pem>

tftp import certificate from <value> file <value> remote-port <1-65535> source-ip <ip/netmask> certificate-name <value> passphrase <value> format <pkcs12|pem>

tftp import private-key from <value> file <value> remote-port <1-65535> source-ip <ip/netmask> passphrase <value> certificate-name <value> format <pkcs12|pem>

tftp import keypair from <value> file <value> remote-port <1-65535> source-ip <ip/netmask> passphrase <value> certificate-name <value> format <pkcs12|pem>

Thanks

  • 12013 Views
  • 1 replies
  • 1 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!