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
#!/bin/bash | |
# dedupe-cacerts.sh | |
# | |
# De-duplicates a certificate authority bundle, such as cacerts.pem | |
# or ca-bundle.crt. This will emit CA certificates in the order they | |
# appeared, annotating them with full info on each certificate, | |
# omitting any duplicate certificates. | |
# | |
# Usage: | |
# |