Testing the Connection (CLI)

Use the following procedure to test the replication connection.
  1. Go to shares replication targets.
  2. Select the target with the connection that you want to check.
  3. Test the connection.

    Use the test command to test the connection. If the certificate is trusted by the source, the message shown in the following example is presented.

    hostname:shares replication target-000> test
    Certificate is trusted
  4. Verify the certificate.

    If the certificate is not trusted by the source (for example, if the source has destroyed the certificate), the certificate is presented for you to review, and you are prompted to accept or reject the certificate.

    To verify the certificate, compare the fingerprint of the displayed certificate with the fingerprint of the certificate on the target.

    1. On the target appliance, go to configuration settings certificates system.
    2. Select the system default certificate.
      • If the system default certificate is automatically generated, select the certificate that is based on the ASN UUID.
      • If the system uses a certificate that is signed by a certificate authority, select that certificate.
    3. Enter the get command.
    4. Compare the certificates.

      Compare the certificate that is presented on the source appliance with the certificate that is shown by the get command.

      • If the fingerprints match, accept the certificate.

        If the fingerprints match, the presented certificate is the target’s certificate and can be trusted. Accept the certificate. The certificate is added to the trust list of the source.

      • If the fingerprints do not match, reject the certificate as not trusted.

        The certificate is not added to the trust list of the source.

  5. Enter the done command, and confirm.