{"id":21406844,"url":"https://github.com/ms-luf/get-certtransparencyinfo","last_synced_at":"2025-07-14T00:32:55.336Z","repository":{"id":42037947,"uuid":"117284165","full_name":"MS-LUF/Get-CertTransparencyInfo","owner":"MS-LUF","description":"All certificate information you need - a cmdlet to request / search all certificates info available for all published certificates - based on CTL info available from crt.sh","archived":false,"fork":false,"pushed_at":"2022-04-16T14:19:48.000Z","size":16,"stargazers_count":3,"open_issues_count":4,"forks_count":6,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-07T20:43:54.496Z","etag":null,"topics":["certificate","certificate-information","certificates-info","ctl","ctl-info","powershell","powershell-gallery","powershell-module","transparency"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MS-LUF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-12T20:19:11.000Z","updated_at":"2024-12-17T17:55:35.000Z","dependencies_parsed_at":"2022-08-12T03:01:06.603Z","dependency_job_id":null,"html_url":"https://github.com/MS-LUF/Get-CertTransparencyInfo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MS-LUF/Get-CertTransparencyInfo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MS-LUF%2FGet-CertTransparencyInfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MS-LUF%2FGet-CertTransparencyInfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MS-LUF%2FGet-CertTransparencyInfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MS-LUF%2FGet-CertTransparencyInfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MS-LUF","download_url":"https://codeload.github.com/MS-LUF/Get-CertTransparencyInfo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MS-LUF%2FGet-CertTransparencyInfo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265227900,"owners_count":23731060,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["certificate","certificate-information","certificates-info","ctl","ctl-info","powershell","powershell-gallery","powershell-module","transparency"],"created_at":"2024-11-22T16:43:05.637Z","updated_at":"2025-07-14T00:32:50.322Z","avatar_url":"https://github.com/MS-LUF.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![image](https://www.lucas-cueff.com/files/gallery.png)\n# Get-CertTransparencyInfo\nAll certificate information you need - a cmdlet to request / search all certificates info available for all published certificates - based on CTL info available from crt.sh\n\n(c) 2018-2019 lucas-cueff.com Distributed under Artistic Licence 2.0 (https://opensource.org/licenses/artistic-license-2.0).\n\n## version 0.4 info\nfix JSON output issue with new crt.sh version\n\n## install use-onyphe from PowerShell Gallery repository\nYou can easily install it from powershell gallery repository\nhttps://www.powershellgallery.com/packages/Get-CertTransparencyInfo/\nusing a simple powershell command and an internet access :-) \n```\n\tInstall-Module -Name Get-CertTransparencyInfo\n```\n## import module from PowerShell \n```\t\n\t.EXAMPLE\n\tC:\\PS\u003e import-module Get-CertTransparencyInfo.psm1\n  \n```\n## module content\n### Get-CertTransparencyInfo function\n ```\n\t\t.SYNOPSIS \n\t\tGet CTL info for domains,fqdn using CRT.sh web site\n\t\n\t\t.DESCRIPTION\n\t\tGet CTL info for domains,fqdn using CRT.sh web site\n\t\n\t\t.PARAMETER SearchDomain\n\t\tMandatory parameter\n\t\t-SearchDomain string\n\t\tProvide domain, fqdn to search with crt.sh website\n\n\t\t.PARAMETER AdvSearch\n\t\t-advsearch string {'Subject-email','Subject-CommonName','Subject-OrgaName','Subject-OrgaUnitName','San-DnsName','San-IP','San-RFC822Name','Cert-SubjectKeyIdentifier'}\n\t\tuse advanced search function to target specific data\n\n\t\t.PARAMETER GetCertificate\n\t\t-GetCertificate switch\n\t\tdownload all certificates found and add the results in the objects return (property Cli_certificate)\n\n\t\t.PARAMETER IncludeExpired\n\t\t-IncludeExpired switch\n\t\tinclude all expired certificates in result\n\t\n\t\t.OUTPUTS\n\t\tTypeName : Selected.System.Management.Automation.PSCustomObject\n\t\n\t\tName                       MemberType   Definition\n\t\t----                       ----------   ----------\n\t\tEquals                     Method       bool Equals(System.Object obj)\n\t\tGetHashCode                Method       int GetHashCode()\n\t\tGetType                    Method       type GetType()\n\t\tToString                   Method       string ToString()\n\t\tCli_adv_search             NoteProperty string Cli_adv_search=San-DnsName\n\t\tCli_certificate            NoteProperty System.Security.Cryptography.X509Certificates.X509Certificate2 Cli_certificate=[Subject]...\n\t\tCli_online_certificate_url NoteProperty string Cli_online_certificate_url=https://crt.sh/?d=172086619\n\t\tCli_online_obj_url         NoteProperty string Cli_online_obj_url=https://crt.sh/?id=172086619\n\t\tCli_search_date            NoteProperty datetime Cli_search_date=12/01/2018 16:00:41\n\t\tCli_search_request         NoteProperty string Cli_search_request=www.yahoo.com\n\t\tissuer_ca_id               NoteProperty int issuer_ca_id=1397\n\t\tissuer_name                NoteProperty string issuer_name=C=US, O=DigiCert Inc, OU=www.digicert.com, CN=DigiCert SHA2 High Assurance Server CA\n\t\tmin_cert_id                NoteProperty int min_cert_id=172086619\n\t\tmin_entry_timestamp        NoteProperty System.DateTime min_entry_timestamp=13/07/2017 18:44:02\n\t\tname_value                 NoteProperty string name_value=www.yahoo.com\n\t\tnot_before                 NoteProperty System.DateTime not_before=13/07/2017 00:00:00\n\n\t\tmin_cert_id                : 172086619\n\t\tissuer_ca_id               : 1397\n\t\tnot_before                 : 13/07/2017 00:00:00\n\t\tname_value                 : www.yahoo.com\n\t\tissuer_name                : C=US, O=DigiCert Inc, OU=www.digicert.com, CN=DigiCert SHA2 High Assurance Server CA\n\t\tmin_entry_timestamp        : 13/07/2017 18:44:02\n\t\tCli_online_obj_url         : https://crt.sh/?id=172086619\n\t\tCli_online_certificate_url : https://crt.sh/?d=172086619\n\t\tCli_adv_search             : San-DnsName\n\t\tCli_search_request         : www.yahoo.com\n\t\tCli_search_date            : 12/01/2018 16:00:41\n\t\tCli_certificate            : [Subject]\n\t\t\t\t\t\t\t\t\tCN=*.att.yahoo.com, O=Yahoo! Inc., L=Sunnyvale, S=CA, C=US\n\n\t\t\t\t\t\t\t\t\t[Issuer]\n\t\t\t\t\t\t\t\t\tCN=DigiCert SHA2 High Assurance Server CA, OU=www.digicert.com, O=DigiCert Inc, C=US\n\n\t\t\t\t\t\t\t\t\t[Serial Number]\n\t\t\t\t\t\t\t\t\t0549BC2E73877793DF5F5EC7B7AD9161\n\n\t\t\t\t\t\t\t\t\t[Not Before]\n\t\t\t\t\t\t\t\t\t13/07/2017 02:00:00\n\n\t\t\t\t\t\t\t\t\t[Not After]\n\t\t\t\t\t\t\t\t\t13/01/2018 13:00:00\n\n\t\t\t\t\t\t\t\t\t[Thumbprint]\n\t\t\t\t\t\t\t\t\t978E6DB2761BD4BECFF14CFC21F2A7F95E40B12C\n\n\t\n\t\t.EXAMPLE\n\t\tget certificate info from CTL databases for google.com domain\n\t\tC:\\PS\u003e Get-CertTransparancyInfo -SearchInfo \"google.com\"\n\t\t\n\t\t.EXAMPLE\n\t\tget certificate info from CTL databases for google-*.com domain\n\t\tC:\\PS\u003e Get-CertTransparancyInfo -SearchInfo \"google-*.com\"\n\n\t\t.EXAMPLE\n\t\tget certificate info from CTL databases for certificates containing *.google.com in their SAN\n\t\tC:\\PS\u003e Get-CertTransparancyInfo -SearchInfo \"*google.com\" -AdvSearch San-DnsName\n\t\t\n\t\t.EXAMPLE\n\t\tget certificate info from CTL databases for certificates containing *.google.com in their SAN and dump certificate found\n\t\tC:\\PS\u003e Get-CertTransparancyInfo -SearchInfo \"*google.com\" -AdvSearch San-DnsName -GetCertificate\n\t\t\n\t\t.EXAMPLE\n\t\tget certificate info from CTL databases for google.com domain including expired\n\t\tC:\\PS\u003e Get-CertTransparancyInfo -SearchInfo \"google.com\" -IncludeExpired\n    \n ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fms-luf%2Fget-certtransparencyinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fms-luf%2Fget-certtransparencyinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fms-luf%2Fget-certtransparencyinfo/lists"}