Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattiasgeniar/certdiff
Every tried to run 'diff' on 2 certificate files? Doesn't quite work. This tool helps resolve that: a clear report between 2 certificates, reporting all differences.
https://github.com/mattiasgeniar/certdiff
Last synced: 16 days ago
JSON representation
Every tried to run 'diff' on 2 certificate files? Doesn't quite work. This tool helps resolve that: a clear report between 2 certificates, reporting all differences.
- Host: GitHub
- URL: https://github.com/mattiasgeniar/certdiff
- Owner: mattiasgeniar
- License: mit
- Created: 2016-03-27T13:00:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-05-05T08:46:33.000Z (over 8 years ago)
- Last Synced: 2024-05-23T04:50:28.050Z (6 months ago)
- Language: Shell
- Size: 17.6 KB
- Stars: 43
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# certdiff
Show the difference between 2 certificate files.
This code is licensed under the MIT license.
## Usage
$ certdiff /path/to/file1.crt /path/to/file2.crt
## Output
Differences are highlighted using the `diff -y` output (side-by-side diff), output with the `|` character in between indicates differences between the files.
$ ./certdiff cronweekly.com/cert.pem sysca.st/cert.pem
subject= /CN=cronweekly.com | subject= /CN=sysca.st
issuer= /C=US/O=Let's Encrypt/CN=Let's Encrypt Authority issuer= /C=US/O=Let's Encrypt/CN=Let's Encrypt Authority
notBefore=Feb 15 08:48:00 2016 GMT | notBefore=Feb 15 09:11:00 2016 GMT
notAfter=May 15 08:48:00 2016 GMT | notAfter=May 15 09:11:00 2016 GMTIf there are no differences, the tool will tell you.
$ ./certdiff cronweekly.com/cert.pem othercert/cert.pem
No differences, the data (FQDN, SAN, ...) is the same.