SSL
Method GET

Return SSL statistics

Returns SSL statistics.

get/ssl

Query parameters

fieldsstring

Limits which fields of SSL statistics will be output.

Response

Success

handshakesinteger

The total number of successful SSL handshakes.

handshakes_failedinteger

The total number of failed SSL handshakes.

session_reusesinteger

The total number of session reuses during SSL handshake.

no_common_protocolinteger

The number of SSL handshakes failed because of no common protocol.

no_common_cipherinteger

The number of SSL handshakes failed because of no shared cipher.

handshake_timeoutinteger

The number of SSL handshakes failed because of a timeout.

peer_rejected_certinteger

The number of failed SSL handshakes when nginx presented the certificate to the client but it was rejected with a corresponding alert message.

Example response

{
  "handshakes": 79572,
  "handshakes_failed": 21025,
  "session_reuses": 15762,
  "no_common_protocol": 4,
  "no_common_cipher": 2,
  "handshake_timeout": 0,
  "peer_rejected_cert": 0,
  "verify_failures": {
    "no_cert": 0,
    "expired_cert": 2,
    "revoked_cert": 1,
    "hostname_mismatch": 2,
    "other": 1
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.