Importing gNMI Server Private Key and Server Certificate

About this task

This topic describes the process to import the gNMI server's private key and server certificate in the pkcs format.

Procedure

From within the SLX-OS context, run the cryto ca import-pkcs command and pass appropriate information for this command.
SLX #  crypto ca import-pkcs type pkcs12 cert-type gNMI-server directory 
/root/certfolder/AV2 file av2.pfx host 10.x.x.x user root pass pass protocol SCP pkcs-passphrase pkcs
                    

Results

The server certificate is imported and saved.