After doing some research on how to disable CAs on opensuse (installed from the OS package), I did the following:
sudo ln -s /etc/ssl/certs/UCA_Global_G2_Root.pem /etc/pki/trust/blacklist/
sudo update-ca-certificates
orsudo update-ca-certificates --fresh
To verify if the certificates I’ve symlinked them into the blacklist directory were really blocked I did:
trust list --filter=ca-anchors | grep -A 5 "UCA"
.
I expected to see the line :“trust: blacked” but I got “trust: anchor” under it.
The man page of update-ca-certificates also says:
To blacklist certificates symlinks to the respective certificates can be placed in /etc/pki/trust/blacklist
I wonder if the method I used to verify the blacklisted state of a certificate was not correct.
Disclaimer: the .pem CA used above is only used as an example and nothing is implied as it being untrustworthy.