CheckCertificate

Available Methods

https://gcmsdk.azurewebsites.net/CheckCertificate/{guid}/{fqdn}/{port}

Query String Parameters

{guid}: String: API Key required for authentication
{fqdn}: String: FQDN to check
{port}: String: Port to be check

Example Request

curl – request GET \
--url 'https://gcmsdk.azurewebsites.net/CheckCertificate/{guid}/sip.domain.com/443'
--include

OR

Powershell> Invoke-RestMethod -Url https://gcmsdk.azurewebsites.net/CheckCertificate/{guid}/sip.domain.com/443

Example Response

[
  {
    "FQDN": "sipdir.online.lync.com",
    "ExpiryDaysLeft": "322",
    "CommonName": "sipfed.online.lync.com",
    "SubjectAltNames": [
      {
        "san": "sipfed.online.lync.com"
      },
      {
        "san": "*.online.lync.com"
      },
      {
        "san": "*.infra.lync.com"
      },
      {
        "san": "*.lync.com"
      }
    ],
    "Result": "Success"
  }
]