NSX-T Data Center REST API
Fetch the server certificate chain of a TLS service endpoint
Attempt to connect to an TLS service endpoint and retrieve the server certificate chain it presents.Request:
Method:
              POST
            URI Path(s):
              
                /api/v1/trust-management/certificates?action=fetch_peer_certificate_chain
                
              
            Request Headers:
                n/a
            Query Parameters:
    n/a
  Request Body:
    TlsServiceEndpoint+
  Example Request:
POST https://<nsx-mgr>/api/v1/trust-management/certificates?action=fetch_peer_certificate_chain { "host": "WIN-228JFP8GGG6.airius.com", "port": 443 }Successful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    PeerCertificateChain+