I am behind a corporate firewall using its own pem certificate. To solve this error one needs to let anaconda and pip know where to find the certificate information. These are stored in the file 'cacert.pem'.To tell pip where to find the .pem file a 'pip.ini' needs to be created (if not already present). Pip has several folder locations where it looks for the .ini file. The locations can be found by usind this pip command:
pip config -v list
Output:
For variant 'global', will try loading 'C:\ProgramData\pip\pip.ini'For variant 'user', will try loading 'C:\Users\foobar\pip\pip.ini'For variant 'user', will try loading 'C:\Users\foobar\AppData\Roaming\pip\pip.ini'For variant 'site', will try loading 'C:\Python38\pip.ini'
I did not have a pip.ini on my system so I put it in my user folder.Content of pip.ini:
[global]cert = C:\\ProgramData\\Anaconda3\\Lib\\site-packages\\certifi\\cacert.pem
The content of the cacert.pem file needs to be edited. The certificate of the company needs to be added. The .pem file can be downloaded locally from firefox or chrome browser, no special rights required (find out for yourself how to).
For Anaconda, the cacert.pem needs to be edited, the corporate ssl certificate needs to be added. cacert.pem can be found in two different locations inside the anaconda directory. This is the correct location:
/Anaconda/Lib/site-packages/certifi/cacert.pem
Once the cacert.pem contains the proper certificate information Anaconda Navigator can connect to the internet.