OpenSSL is widely used in python application, however, OpenSLL 1.0 version is used in python 3.5 defaultly and 1.1 version in python 3.7. How to check what version your python is using on windows? In this tutorial, we will talk about how to check.
Open cmd prompt on windows
We will use openssl command to output the version of current openssl.
Check openssl version
You can input command below to check the openssl version.
openssl version -a
Then you will find result like:
Notice: we often installed serveral python environments in our computer using anaconda, like python 3.5 and python 3.7. To check the version of openssl in each python environment, you should activate python environment.
For example, we have installed python 3.7 and python 3.5 environments in our computer, to check the openssl version in python 3.7 environment, you should activate python 3.7 environment.
Activate python 3.7 environment
activate py3.7
The py3.7 is the name of our python 3.7 environment, you should replace it with your python environment name.
Check openssl version
openssl version -a
Then we will find the version of openssl in python 3.7 is:
As to python 3.5 environment, we also can do like above.