티스토리 뷰

728x90
# Install OpenSSL 1.1.1
cd /opt
curl https://ftp.openssl.org/source/old/1.1.1/openssl-1.1.1j.tar.gz --output openssl.tar.gz
tar xzf openssl.tar.gz
rm openssl.tar.gz
cd openssl-1.1.1j/
./config --prefix=/opt/openssl && make && make install

# Install Python 3.10.6
cd /opt
wget https://www.python.org/ftp/python/3.10.6/Python-3.10.6.tgz
tar xzf Python-3.10.6.tgz
cd Python-3.10.6
./configure --with-openssl=/opt/openssl
make
make altinstall

https://stackoverflow.com/questions/69371800/how-to-link-python3-to-use-openssl11-or-latest-version-of-openssl-1-1-1-on-c

 

How to link python3 to use openssl11 / or latest version of openssl (1.1.1) on centos 7

We wanted to upgrade OpenSSL in centos 7 but it didn't happen, the reason may be this. Upgrading CentOS 7 to OpenSSL 1.1.1 by yum install openssl11 I've came to know openssl11 is for "spot"

stackoverflow.com

 

728x90

'공부' 카테고리의 다른 글

[sshd] service sshd restart  (0) 2024.01.29
[airflow] airflow db init  (0) 2024.01.29
[MySQL] change pw  (0) 2024.01.29
[Airflow] ModuleNotFoundError: No module named 'MySQLdb'  (0) 2024.01.28
[MacOS] tunneling  (1) 2024.01.23
댓글