Restoring the Root Certificate Imported to MEF Center

  1. Log in to the MEF Center device environment as the root user.
  2. Run the following command to go to the directory where run.sh is stored. The default installation directory is /usr/local/MEF-Center/mef-center.
    cd Installation_directory/MEF-Center/mef-center
  3. Run the following command to restore the backup root certificate:
    ./run.sh restorecert -name=Certificate_name
    Table 1 restorecert parameters

    Parameter

    Description

    name

    (Mandatory) Certificate name. Values:

    • north: certificate of the integrated platform
    • software: software repository certificate
    • image: image repository certificate
    If the following information is displayed, the command is successfully executed:
    restore unused certificates of [north] ca successfully

    After the certificate is restored, the current certificate is replaced with the backup certificate. After the certificate of the integrated platform is restored, you need to restart MEF Center for the certificate to take effect. After the software/image repository certificate is restored, it takes about 5 minutes for the certificate to take effect.