Skip to content

Commit

Permalink
Readme update and tooling fixes (#1)
Browse files Browse the repository at this point in the history
Co-authored-by: J.C. Jones <[email protected]>
  • Loading branch information
pgporada and jcjones authored Aug 11, 2022
1 parent 1844d7a commit 855ea85
Show file tree
Hide file tree
Showing 834 changed files with 75,436 additions and 20,708 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

This repository contains all Root Certificate Authorities from whom [Let's Encrypt's Certificate Transparency Logs](https://letsencrypt.org/docs/ct-logs/) accept leaf certificates.

Let's Encrypt operates two publicly-accessible [Certificate Transparency](https://www.certificate-transparency.org/what-is-ct) Logs: **Oak**, and **Sapling**.
Let's Encrypt operates two publicly-accessible [Certificate Transparency](https://www.certificate-transparency.org/what-is-ct):
* **Oak**
* **Sapling**

## Oak

Expand Down
1 change: 0 additions & 1 deletion issuers/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions issuers/README.md

This file was deleted.

103 changes: 0 additions & 103 deletions issuers/build-accepted-roots.sh

This file was deleted.

Empty file removed issuers/oak/.gitkeep
Empty file.
2 changes: 2 additions & 0 deletions tooling/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.old
*/tmp.*
38 changes: 38 additions & 0 deletions tooling/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Overview

We decided to store the issuer files with human readable names, rather than the serial or fingerprint. This decision is completely arbitrary.

Issuer file names are broken down as follows:

* Default to `organization - common name.crt`
* If the `organization` field is unset, the filename will be `common name.crt`
* If the `common name` field is unset, the filename will be `organization.crt`

To use the tooling in this folder, you will need [certigo](https://github.com/square/certigo).

# Usage

Create a new accepted roots file from the root certificates in each respective logs folder. This will not apply the change to a running shard. That work is done in another repository and requires SRE change control.
```
./assemble-accepted-roots.sh
```

Add a root certificate to all accepted roots files for all shards in a log. This will not apply the change to the running shards.
```
./add-root-to-log.sh
```

To get all root certificates currently applied to a log shard:

```
./pull-roots-from-all-shards.sh
```

To perform analysis on roots pulled from each shard:
```
./diff-accepted-roots.sh oak/tmp.FOO-2023 oak/tmp.BAR-2024h1
```

## Notes

When adding a new shard, the scripts will need to be updated to account for the new shard.
Loading

0 comments on commit 855ea85

Please sign in to comment.