I was investigating an issue where a python workflow task was failing with error:
‘There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed error: Could not find a version that satisfies the requirement’
The issue was caused by incorrect index URL on the pip global config file on the Morpheus appliance. When setting the index URL, make sure that it is in a correct format, and there are no whitespaces in the URL.
[global] timeout = 60 index-url = https://pypi.org/simple
Note that if you are using custom ports, then specify the port number by adding it to the index-url domain, and also on the trusted-host name. Specifying the port number just on the index-url will not work.
[global] timeout = 60 index-url = https://pypi.org:8443/simple trusted-host = pypi.org:8443
Please refer to the following pip documentation for details on how to setup the config file properly.