Created
May 31, 2020 07:18
-
-
Save dragolabs/e1f5b026b84d74680b6b082246787a39 to your computer and use it in GitHub Desktop.
Fix expired sectigo ca certificate on ubuntu =< 16.04 and debian =< 9
This file contains hidden or 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 | |
# more info: | |
# https://support.sectigo.com/articles/Knowledge/Sectigo-AddTrust-External-CA-Root-Expiring-May-30-2020 | |
# https://www.reddit.com/r/linux/comments/gshh70/sectigo_root_ca_expiring_may_not_be_handled_well/ | |
apt-get update | |
apt-get install --reinstall ca-certificates | |
sed -i '/AddTrust_External_Root.crt/d' /etc/ca-certificates.conf | |
rm /usr/share/ca-certificates/mozilla/AddTrust_External_Root.crt | |
update-ca-certificates -f -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment