
CLI
Information – 219
•
•
7.7.17.3 Specifics
7.7.17.4 Access rights per profiles
Administrator
Operator
Viewer
systeminfo_statistics
7.7.18 certificates
7.7.18.1 Description
Allows to manage certificates through the CLI.
7.7.18.2 Help
certificates <target> <action> <service_name>
<target> :
- local
<action> :
- 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 CSR
with the certificate given.
- csr: get the server CSR contents. This will create the CSR
if
not already existing.
<service_name>: mqtt/syslog/webserver
7.7.18.3 Examples of usage
7.7.18.3.1 From a linux host:
print over SSH: sshpass -p $PASSWORD ssh $USER@$CARD_ADDRESS certificates local print $SERVICE_NAME
revoke over SSH: sshpass -p $PASSWORD ssh $USER@$CARD_ADDRESS certificates local revoke $SERVICE_NAME
export over SSH: sshpass -p $PASSWORD ssh $USER@$CARD_ADDRESS certificates local export $SERVICE_NAME
import over SSH: cat $FILE | sshpass -p $PASSWORD ssh $USER@$CARD_ADDRESS certificates local import $SERVICE_NAME
csr over SSH: sshpass -p $PASSWORD ssh $USER@$CARD_ADDRESS certificates local csr mqtt
7.7.18.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_NAME
revoke over SSH: plink $USER@$CARD_ADDRESS -pw $PASSWORD -batch certificates local revoke $SERVICE_NAME
export over SSH: plink $USER@$CARD_ADDRESS -pw $PASSWORD -batch certificates local export $SERVICE_NAME
import over SSH: type $FILE | plink $USER@$CARD_ADDRESS -pw $PASSWORD -batch certificates local import
$SERVICE_NAME
csr over SSH: plink $USER@$CARD_ADDRESS -pw $PASSWORD -batch certificates local csr mqtt
7.7.18.3.3 Where:
$USER is user name (the user shall have administrator profile)
$PASSWORD is the user password
Summary of Contents for eNMC2
Page 1: ...PDU Network Module eNMC2 User s Guide English 10 09 2023...
Page 2: ......
Page 25: ...Home Contextual help of the web interface 25 3 2 2 1 3 Battery mode 3 2 2 1 4 Off mode...
Page 27: ...Home Contextual help of the web interface 27 3 2 2 2 3 Battery mode 3 2 2 2 4 Off mode...
Page 29: ...Home Contextual help of the web interface 29 3 2 2 3 2 Bypass mode 3 2 2 3 3 Battery mode...
Page 50: ...Protection Contextual help of the web interface 50 Example 2 Immediate OFF Example 4 Custom...
Page 51: ...Protection Contextual help of the web interface 51 Settings 1 Settings 2...
Page 224: ...Acronyms and abbreviations Information 224...
Page 231: ......