|
CLIInformation – 254••••••8.7.22 certificates8.7.22.1 DescriptionAllows to manage certificates through the CLI.8.7.22.2 Helpcertificates :- local :- print: provides a given certificate detailed information.- revoke: revokes a given certificate.- export: returns a given certificate contents.- import: upload a given certificate for the server CSR. This will replace the CSRwith the certificate given.- csr: get the server CSR contents. This will create the CSR if not already existing.: mqtt/syslog/webserver8.7.22.3 Examples of usage8.7.22.3.1 From a linux host:print over SSH: sshpass -p $PASSWORD ssh $USER@$CARD_ADDRESS certificates local print $SERVICE_NAMErevoke over SSH: sshpass -p $PASSWORD ssh $USER@$CARD_ADDRESS certificates local revoke $SERVICE_NAMEexport over SSH: sshpass -p $PASSWORD ssh $USER@$CARD_ADDRESS certificates local export $SERVICE_NAMEimport over SSH: cat $FILE | sshpass -p $PASSWORD ssh $USER@$CARD_ADDRESS certificates local import $SERVICE_NAMEcsr over SSH: sshpass -p $PASSWORD ssh $USER@$CARD_ADDRESS certificates local csr mqtt8.7.22.3.2 From a Windows host: (plink tools from putty is required)print over SSH: plink $USER@$CARD_ADDRESS -pw $PASSWORD -batch certificates local print $SERVICE_NAMErevoke over SSH: plink $USER@$CARD_ADDRESS -pw $PASSWORD -batch certificates local revoke $SERVICE_NAMEexport over SSH: plink $USER@$CARD_ADDRESS -pw $PASSWORD -batch certificates local export $SERVICE_NAMEimport over SSH: type $FILE | plink $USER@$CARD_ADDRESS -pw $PASSWORD -batch certificates local import$SERVICE_NAMEcsr over SSH: plink $USER@$CARD_ADDRESS -pw $PASSWORD -batch certificates local csr mqtt8.7.22.3.3 Where:$USER is user name (the user shall have administrator profile)$PASSWORD is the user password$PASSPHRASE is any passphrase to encrypt/decrypt sensible data.$CARD_ADDRESS is IP or hostname of the card$FILE is a certificate file$SERVICE_NAME is the name one of the following services : mqtt / syslog / webserver.You are using an UNLICENSED copy of Scroll PDF Exporter for Confluence. Do you find Scroll PDF Exporter useful? Consider purchasing it today:https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence?tab=overview&hosting=datacenter PreviousNext |
Related manuals for Eaton eNMC2
This manual is suitable for: