| The Following User Says Thank You to rainisto For This Useful Post: | ||
#!/bin/sh
#removing fraudulent CAs
echo enter the cert\(ifier\) You are looking for:
read cert
cmcli -T common-ca -L | grep "$cert"
echo now copy the full cert ID ...
read nothing
echo and give it as input \(for removal\)
read certID
if [ `id -u` != 0 ] ; then
sudo cp /etc/certs/common-ca/$certID.pem /etc/certs/common-ca/$certID.pem.old
sudo cmcli -c common-ca -r $certID
else
cp /etc/certs/common-ca/$certID.pem /etc/certs/common-ca/$certID.pem.old
cmcli -c common-ca -r $certID
fi
echo now open microb and goto
echo chrome://pippki/content/certManager.xul
echo and delete the cert also there in the CA manager
read nothing
dbus-send --system --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"chrome://pippki/content/certManager.xul"
| The Following 2 Users Say Thank You to joerg_rw For This Useful Post: | ||
). So please refer to below corrected script (rootsh required).#!/bin/sh
if [ `id -u` != 0 ] ; then
exec sudo gainroot <<EOF
exec sh $0 $*
EOF
exit $?
fi
#removing fraudulent CAs
echo enter the cert\(ifier\) You are looking for:
read cert
cmcli -T common-ca -L | grep "$cert"
echo now copy the full cert ID ...
read nothing
echo and give it as input \(for removal\)
read certID
cp /etc/certs/common-ca/$certID.pem /etc/certs/common-ca/$certID.pem.old
cmcli -c common-ca -r $certID
echo now open microb and goto
echo chrome://pippki/content/certManager.xul
echo and delete the cert also there in the CA manager
read nothing
dbus-send --system --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"chrome://pippki/content/certManager.xul"
| The Following 2 Users Say Thank You to peterleinchen For This Useful Post: | ||
dbus-send --system --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"chrome://pippki/content/certManager.xul"
#!/bin/sh
#removing fraudulent CAs
echo enter the cert\(ifier\) You are looking for:
read cert
cmcli -T common-ca -L | grep "$cert"
echo now copy the full cert ID ...
read nothing
echo and give it as input \(for removal\)
read certID
if [ `id -u` != 0 ] ; then
sudo cp /etc/certs/common-ca/$certID.pem /etc/certs/common-ca/$certID.pem.old
sudo cmcli -c common-ca -r $certID
else
cp /etc/certs/common-ca/$certID.pem /etc/certs/common-ca/$certID.pem.old
cmcli -c common-ca -r $certID
fi
echo now open microb and goto
echo chrome://pippki/content/certManager.xul
echo and delete the cert also there in the CA manager
read nothing
dbus-send --system --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"chrome://pippki/content/certManager.xul"
$ perl /usr/bin/c_rehash /etc/certs/common-ca
| The Following User Says Thank You to pali For This Useful Post: | ||
| The Following 3 Users Say Thank You to freemangordon For This Useful Post: | ||