Semi-relatedly, you can connect to the crt.sh Postgres instance and query it directly with SQL:
psql -h crt.sh -p 5432 -U guest certwatch
To generate the SQL queries in the web UI, simply click “advanced” and then the “Show SQL” checkbox, or append it to the URL, like so: https://crt.sh/?q=www.comodo.com&showSQL=Y
(Note the generated SQL at the bottom of that page.)Steampipe also has a crt.sh connector: https://hub.steampipe.io/plugins/turbot/crtsh/tables/crtsh_c...