Created
April 28, 2013 23:09
-
-
Save c1982/5478805 to your computer and use it in GitHub Desktop.
Get SSL certificates IP and Domain names
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT domains.name, ip_addresses.ip_address, certificates.name AS cert_name, certificates.ca_file | |
FROM ((domains INNER JOIN | |
hosting ON domains.id = hosting.dom_id) INNER JOIN | |
(ip_addresses INNER JOIN | |
certificates ON ip_addresses.ssl_certificate_id = certificates.id) ON hosting.ip_address_id = ip_addresses.id) | |
ORDER BY ip_addresses.ip_address |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment