NAME

Net::SSLLabs::Chain - Chain object

METHODS

new

a new Net::SSLLabs::Chain object, accepts a JSON object as it's parameter.

certs

a list of Net::SSLLabs::ChainCert objects, representing the chain certificates in the order in which they were retrieved from the server

issues

a number of flags that describe the chain and the problems it has:

bit 0 (1) - unused
bit 1 (2) - incomplete chain (set only when we were able to build a chain by adding missing intermediate certificates from external sources)
bit 2 (4) - chain contains unrelated or duplicate certificates (i.e., certificates that are not part of the same chain)
bit 3 (8) - the certificates form a chain (trusted or not), but the order is incorrect
bit 4 (16) - contains a self-signed root certificate (not set for self-signed leafs)
bit 5 (32) - the certificates form a chain (if we added external certificates, bit 1 will be set), but we could not validate it. If the leaf was trusted, that means that we built a different chain we trusted.