Skip to content

Instantly share code, notes, and snippets.

View powerdot's full-sized avatar
🦁

powerdot

🦁
View GitHub Profile
@dragolabs
dragolabs / fix-sectigo-ca-expired.sh
Created May 31, 2020 07:18
Fix expired sectigo ca certificate on ubuntu =< 16.04 and debian =< 9
#!/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