Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:certificates [2024/01/17 14:43] – [Legacy] will | tools:certificates [2025/04/25 16:42] (current) – [Terminal] will | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== UPMC Certificates ====== | ====== UPMC Certificates ====== | ||
UPMC man in the middle' | UPMC man in the middle' | ||
- | You might get the error | + | You might get the error on the terminal (from e.g. '' |
> SSLError(SSLCerVerificationError, | > SSLError(SSLCerVerificationError, | ||
+ | |||
+ | or this message in firefox | ||
+ | > Software is Preventing Firefox From Safely Connecting to This Site | ||
+ | ===== Firefox ===== | ||
+ | |||
+ | Download [[http:// | ||
+ | |||
+ | - top right hamberger menu | ||
+ | - options | ||
+ | - scroll to '' | ||
+ | - Click '' | ||
+ | - '' | ||
+ | |||
+ | ===== Terminal ===== | ||
+ | for CLI and terminal programs, you can accept the certificate across the system. | ||
To allow UPMC's cert in the SSL chain on debian, run: | To allow UPMC's cert in the SSL chain on debian, run: | ||
< | < | ||
- | | + | # as root |
- | cd / | + | [ $(id -u) -ne 0 ] && echo "with sudo" && exit 1 |
- | cert_loc=http:// | + | |
- | for crt in UPMC-CA23 UPMC-CA20 UPMC-ROOT-CA; | + | cd / |
- | | + | cert_loc=https:// |
- | | + | # 20250313 - added "UPMC ROOT CA 2023" via Nathan Safran |
- | | + | for crt in UPMC-CA23 UPMC-CA20 UPMC-ROOT-CA |
- | done | + | ! wget " |
- | update-ca-certificates | + | |
+ | | ||
+ | done | ||
+ | update-ca-certificates | ||
</ | </ | ||
Line 51: | Line 69: | ||
pip install urllib3==1.26.12 | pip install urllib3==1.26.12 | ||
</ | </ | ||
+ | |||
+ | For python virtual enviornments, | ||
+ | < | ||
+ | pycert=$(python -c ' | ||
+ | |||
+ | cat $newcert_pem >> $pycert | ||
+ | </ | ||
+ | |||
+ | (Will note: '' |