Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sokolster/d84f561e0b9613c7832767efe8b3ea7c to your computer and use it in GitHub Desktop.
Save sokolster/d84f561e0b9613c7832767efe8b3ea7c to your computer and use it in GitHub Desktop.
AddTrust_External_Root disable
#debian, ubuntu
sed 's|mozilla\/AddTrust_External_Root.crt|!mozilla\/AddTrust_External_Root.crt|g' -i /etc/ca-certificates.conf ; update-ca-certificates -f -v
#centos
trust dump --filter "pkcs11:id=%AD%BD%98%7A%34%B4%26%F7%FA%C4%26%54%EF%03%BD%E0%24%CB%54%1A;type=cert" > /etc/pki/ca-trust/source/blacklist/addtrust-external-root.p11-kit ; update-ca-trust extract
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment