Skip to content

Instantly share code, notes, and snippets.

@odoucet
Created October 4, 2021 08:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save odoucet/7abdbb97cfe38c4de616e38f7407eb5f to your computer and use it in GitHub Desktop.
Save odoucet/7abdbb97cfe38c4de616e38f7407eb5f to your computer and use it in GitHub Desktop.
Remove DST Root CA X3
#!/bin/bash
# SOURCE: https://blog.devgenius.io/rhel-centos-7-fix-for-lets-encrypt-change-8af2de587fe4
trust dump --filter "pkcs11:id=%c4%a7%b1%a4%7b%2c%71%fa%db%e1%4b%90%75%ff%c4%15%60%85%89%10" | openssl x509 | sudo tee /etc/pki/ca-trust/source/blacklist/DST-Root-CA-X3.pem
sudo update-ca-trust extract
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment