List Certificates
AI-generatedSummary
List all SSL certificates managed by Certbot on the host system by executing the 'certbot certificates' command.
Inputs
- Use Sudo — Whether to prepend "sudo" to the certbot command, to allow elevated privileges if necessary. Defaults to false.
Output shape
a list of certificate objects, each containing certificateName, domains, expiryDate, validity status, certificatePath, and privateKeyPath.
The node returns one JSON object per certificate. All output fields are parsed from the 'certbot certificates' command output. No pagination applies. Errors during execution will throw unless 'Continue On Fail' is enabled.
Examples
Example 1: List all certificates without sudo
Set 'Use Sudo' to false (default).
Example 2: List all certificates with elevated privileges
Set 'Use Sudo' to true to prefix the command with 'sudo'.