Importing array certificates

This section describes how to import certificates. If you do not want to import the certificates, Microsoft allows you to disable them.

Disable certificate validation

To disable certificate validation, run “[Net.ServicePointManager]::ServerCertificateValidationCallback = { $true }” prior to executing the Connect-UnityArray cmdlet.

WARNING: Disabling certificate validation disables certificate validation for all cmdlets in current PowerShell session, including commands from other modules.

Import Unisphere certificates

Steps

  1. In your browser, navigate to https://xx.xx.xx.xx (Unisphere or array IP/hostname).

Certificate1

  1. Select “Certificate”.
  2. Download and save all certificates in the path.

Certificate2

Certificate2

Import methods

You can use any of these methods to import certificates:

  1. PowerShell
  2. Certificate Import Wizard

Import certificates using PowerShell

Steps

  1. Start PowerShell as administrator.
  2. Enter the Run command.
  3. Run the following:Import-Certificate -Filepath -CertStoreLocation ‘Cert: \LocalMachine\Root’ -Verbose.
  4. Repeat steps 2 and 3 to import each certificate.

Import certificates using the import wizard

Steps

  1. Navigate to the directory to which the certificates are saved.
  2. Double click the certificate file, Certificate Import Wizard opens.
  3. Follow the steps to import the certificate to Root Certification Authorities store.
  4. Repeat steps 2 and 3 to import each certificate.