ProbeSsl

This method checks if the Site Recovery Manager can establish successful SSL connection to the specified endpoint. It returns
CertificateInfo
that describes if this SRM server can validate the certificate coming from the specified endpoint.

Synopsis

CertificateInfo probeSsl(String uri)
uri
is the URI of the endpoint to probe.
CertificateInfo
provides information about X509 certificate. It has the following fields:
Parameter
Description
certificate
PEM encoded X509 certificate.
thumbprint
SHA-2 hash of the certificate. The format is two capital hexadecimal digits separated by ':'. For example: CF:2B:8A:63:9F:71:63:7C:5D:61:3C:83:A7:D0:17:E0:CA: 7C:89:5B:F3:D9:2B:BB:75:12:AA:C2:7C:C5:F3:9A
dnsName
DNS name of the server extracted from the certificate. The client is expected to use this DNS name to establish a secure connection to the server.
isTrusted
True if the SRM server can successfully validate the certificate without using thumbprints and false otherwise.
issuedTo
IP or FQDN of the receiver of the certificate.
issuedBy
IP or FQDN of the issuer. The one who signed the certificate.
expiresOn
Date on which the certificate expires.

Faults

  • ConnectionRefusedFault
  • DnsLookupFault
  • HostUnreachableFault
  • RuntimeFault
For more information about the faults, see Faults in Site Recovery Manager Appliance Management API.