Why am I getting a certificate exception error for my Huawei NAS device in ADAudit Plus?

Why am I getting a certificate exception error for my Huawei NAS device in ADAudit Plus?

In this article:  

  • Issue description

  • Prerequisites

  • Possible causes

  • Resolution

  • Related topics and articles

  • How to reach support

Issue description  

When integrating Huawei NAS devices with ADAudit Plus, a certificate exception error may occur during communication, preventing successful connection to the device.

Prerequisites  

  • ADAudit Plus must be installed and running.

  • Have access to the Huawei OceanStor web interface.

  • Google Chrome is installed on the ADAudit Plus server or an accessible system.

  • Have administrative access to the ADAudit Plus installation directory and Command Prompt.

Possible causes  

  • The Huawei OceanStor web certificate is not trusted by ADAudit Plus.

  • The required SSL certificate is not present in the Java KeyStore used by ADAudit Plus.

Resolution  

Step 1: Export the certificate from Huawei OceanStor via Google Chrome  

  1. Open Google Chrome on the ADAudit Plus server.

  2. Navigate to: https://<your-huawei-device>:8088.

  3. Click View site information (the lock icon) in the address bar.

  4. Click Connection is secure, then Certificate is valid.

  5. In the Certificate Viewer window, go to the Details tab and click Export.

  6. Choose a name for the certificate, select DER-encoded binary, single certificate, then click Save.

Step 2: Import the certificate into the ADAudit Plus Java KeyStore  

  1. Move the exported certificate file (.cer or .pem) to: <ADAudit Plus Installation Directory>\bin.

  2. Open Command Prompt as an administrator and navigate to the same bin folder.

  3. Run the following command:

    1. ImportCert.bat -add "<certificate-name>" "<path-to-certificate>"

    2. Example: ImportCert.bat -add "Huawei OceanStor" "C:\ManageEngine\ADAudit Plus\bin\Huawei_OceanStor.cer"

  4. After a successful import, restart the ADAudit Plus service.

Related topics and articles  

How to reach support  

If the issue persists after performing these steps, collect the following information and contact support@adauditplus.com:

  • ADAudit Plus build number

  • Screenshots of the certificate error

  • Confirmation of certificate import and restart

The support team will assist you.

                  New to ADSelfService Plus?