This function lists the server's domains with installed SSL certificates.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ listcrts
{- "data": {
- "crt": [
- {
- "domain": "example.com",
- "domain_owners": [
- "username"
], - "domains": [
- "example.com"
], - "ecdsa_curve_name": null,
- "friendly_name": "TestCertificate",
- "id": "example._com_d13b4_362b9_1400343187_b05e5c3e443dda9a8869c4cf7457829e",
- "is_self_signed": 1,
- "issuer.organizationName": "Organization",
- "key_algorithm": "rsaEncryption",
- "modulus_length": 2048,
- "not_after": 1601467200,
- "registered": 1,
- "signature_algorithm": "sha256WithRSAEncryption",
- "validation_type": "dv"
}
]
}, - "metadata": {
- "command": "listcrts",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}