Installation of certificate in pip: הבדלים בין גרסאות בדף
קפיצה לניווט
קפיצה לחיפוש
שורה 12: | שורה 12: | ||
cert = C:\ProgramData\NetFree\CA\netfree-ca-bundle-curl.crt | cert = C:\ProgramData\NetFree\CA\netfree-ca-bundle-curl.crt | ||
+ | And in linux according to the above address. | ||
− | |||
− | + | NOTE: The above is correct for Windows if you have installed [[Standard certificate installer| Security Certificate Software]] or Linux systems and have been installed [[Installation of certificate in Ubuntu operating system| Certificate as instructed here]]. | |
− | |||
− | + | In other cases, the certificate must be downloaded to the computer [http://wiki.netfree.link/images/a/ac/Curl-ca-bundle.zip from here], extract, and run the command with the path change depending on where you saved the file on your computer. | |
+ | |||
+ | |||
+ | ===One-time run=== | ||
+ | |||
+ | To run any command only one-time run with these certificates without changes to the computer, you can add this parameter to the command: | ||
+ | --cert %programdata%\NetFree\CA\netfree-ca-bundle-curl.crt | ||
+ | |||
+ | And in linux: | ||
+ | |||
+ | --cert /usr/lib/ssl/certs/ca-certificates.crt | ||
− | |||
==External links== | ==External links== | ||
+ | |||
+ | [https://stackoverflow.com/questions/25981703 More options and discussion in stackoverflow.com] | ||
+ | |||
[https://pip.pypa.io/en/stable/ The pip documentation site] | [https://pip.pypa.io/en/stable/ The pip documentation site] |
גרסה מ־06:42, 23 במרץ 2020
לעברית לחצו כאן
To switch from edit view to read view
Home page > Security certificate > Installation of certificate in pip
Create or edit this file:
%AppData%\pip\pip.ini
Add the following lines:
[global] cert = C:\ProgramData\NetFree\CA\netfree-ca-bundle-curl.crt
And in linux according to the above address.
NOTE: The above is correct for Windows if you have installed Security Certificate Software or Linux systems and have been installed Certificate as instructed here.
In other cases, the certificate must be downloaded to the computer from here, extract, and run the command with the path change depending on where you saved the file on your computer.
One-time run
To run any command only one-time run with these certificates without changes to the computer, you can add this parameter to the command:
--cert %programdata%\NetFree\CA\netfree-ca-bundle-curl.crt
And in linux:
--cert /usr/lib/ssl/certs/ca-certificates.crt