ssllabs.host

class ssllabs.host.Host(data)[source]

Bases: ssllabs.object.Object

A host object. The class filled by ssllabs.client.Client.analyze() and accessed through ssllabs.client.Client.host()

cacheExpiryTime

when will the assessment results expire from the cache (typically set only for assessment with errors; otherwise the results stay in the cache for as long as there’s sufficient room)

certHostnames

the list of certificate hostnames collected from the certificates seen during assessment. The hostnames may not be valid. This field is available only if the server certificate doesn’t match the requested hostname. In that case, this field saves you some time as you don’t have to inspect the certificates yourself to find out what valid hostnames might be.

criteriaVersion

grading criteria version (e.g., “2009”)

endpoints

list of ssllabs.endpoint.Endpoint objects

engineVersion

assessment engine version (e.g., “1.0.120”)

host

assessment host, which can be a hostname or an IP address

isPublic

true if this assessment is publicly available (listed on the SSL Labs assessment boards)

port

assessment port (e.g., 443)

protocol
startTime

assessment starting time, as a utc datetime object

status

assessment status; possible values: DNS, ERROR, IN_PROGRESS, and READY.

statusMessage

status message in English. When status is ERROR, this field will contain an error message.

testTime

assessment completion time, as a utc datetime object