Skip to content

A utility to check the certificate trust list (CTL).

License

Notifications You must be signed in to change notification settings

canstand/ctlcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ctlcheck GoDoc Go Report Card

A utility to check the certificate trust list (CTL).

  • Compare the differences between the current system CAs and the latest data from CCADB (or Apple, etc.)
  • Shows certificates that have been removed by the vendor (Mozilla, Apple, Microsoft, etc.), and unknown certificates
  • Self-signed or company root certificates can be added to the allow list

ctlcheck snapshot

Installation

First install Go.

If you just want to install the binary to your current directory and don't care about the source code, run

GOBIN="$(pwd)" go install github.com/canstand/ctlcheck@latest

If needed, create a ctlcheck.yml file and add your trusted self-signed root certificates in the following format:

allow:
    D59C2F2036FAF503FCDE00B6412318548D75F67D1F93A9953132EB6963B8CA19: Self Signed CA
    E395E72DD44031988FB229CBAC77969AE96188BB6C58AF811B8BD0F31087B9AB: Caddy Local Authority - 2021 ECC Root

Usage

Usage:
  ctlcheck [options]

Options:
  -offline
        load data from ctlcheck.yml instead of fetch from CCADB
  -raw
        print unstyled raw output (set it if output is written to a file)
  -save
        save data to ctlcheck.yml

Notes

For Windows

Why are there several Removed Certificates reported in normal Windows OS?

  • The CTL is based on CCADB data, and then complements several missing Microsoft built-in certificates from authroot.stl.
  • Some certificates are included in authroot.stl, but the "Microsoft Status" has been marked as Disable or other status in CCADB.

About

A utility to check the certificate trust list (CTL).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages