Normally, installing a python module and its dependencies is done via Pip. If HTTPS is blocked in private networks, then things might get tricky and you get the following message.
InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail.
To bypass this, you can issue the below command to trust pypi.python.org
$ pip install –trusted-host pypi.python.org Flask
To make sure that the needed module is installed, check it by
$ pip freeze
You get this message when the system is behind a firewall and when the security certificates are blocked.
There are two ways to overcome this message and to enable a git pull or git clone.
i) Issue the below command from git bash
$ git config –global http.sslVerify false
ii) Add http block in “gitconfig” file to avoid ssl verification[http] sslVerify = false
sslCAinfo = /bin/curl-ca-bundle.crt
SSL Error: Revocation information for the security certificate for this site is not available. Do you want to proceed?
i) Install the root CA under Trusted Certificate Authority or,
ii) Add an exception to the browser filter not to check certificate revocation or,
iii) Programatically handle the SSL stream when request is made from the server
Points to consider before choosing the SSL certificate
i) Strength of the encryption offered by the certificates
ii) Browser comptability or recognition of the certificates. A well known brand is recognized by most of the browsers in the market
iii) If the certificate offers backward comptability across browsers offering
iv) Whether the Certification Authority (CA) is a Trusted Root or if they use a Chained Root Certificates.
v) Which web server will be used for SSL installation. Chained root certificates may be little complicated on some web servers.
vi) Nature of the application that will be served over the SSL – depending on the volume of the transactions and the value of each transaction
vii) Warranty offered by the certificate (if that matters which most certainly is when it comes to ECommerce products)