Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- for a_pkg in ca-certificates-20181109- ca-certificates-mozilla ca-certificates-utils-20181109-; do
- petget /var/tmp/$a_pkg*
- done
- #See: http://murga-linux.com/puppy/viewtopic.php?p=1050071#1050071
- mv /etc/ca-certificates.conf /etc/ca-certificates.conf_back_$$
- ( cd /usr/share/ca-certificates
- find . -name '*.crt' | sed 's#^./##' > /etc/ca-certificates.conf
- )
- #The following command is from: https://github.com/rbarrois/nss-systemcerts/blob/master/nss-systemcerts-import#L21
- nss-systemcerts-import
- #The following command is from: https://packages.debian.org/sid/all/ca-certificates
- update-ca-certificates
- #See:
- # http://murga-linux.com/puppy/viewtopic.php?p=1050966#1050966
- # https://wiki.archlinux.org/index.php/User:Grawity/Adding_a_trusted_CA_certificate#System-wide_%25E2%2580%2593_update-ca-certificates_%28Debian%2C_Ubuntu%29
- update-ca-trust
- for a_profile in /root/.cache/mozilla/firefox/*; do
- mv $a_profile/pkcs11.txt $a_profile/pkcs11.txt_back$$ && \
- cp /etc/pki/nssdb/pkcs11.txt $a_profile/pkcs11.txt
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement