Linux

OpenSSL 업그레이드하기

I장군T 2022. 3. 21. 10:07
반응형

1. 현재 버전 확인

# openssl version

OpenSSL 1.0.1e-fips 11 Feb 2013

2. OpenSSL 다운로드(원하는 버전으로)

- https://www.openssl.org/source

 

/source/index.html

The master sources are maintained in our git repository, which is accessible over the network and cloned on GitHub, at https://github.com/openssl/openssl. Bugs and pull patches (issues and pull requests) should be filed on the GitHub repo. Please familiari

www.openssl.org

 

3. OpenSSL 설치

# cd /usr/local/src

# wget https://www.openssl.org/source/openssl-1.1.1b.tar.gz

# tar -xvzf openssl-1.1.1b.tar.gz

# cd openssl-1.1.1b

# ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared

# make

# make install

 

4. 라이브러리 로딩

# vi /etc/ld.so.conf.d/openssl-1.1.1b.conf

/usr/local/ssl/lib

# ldconfig -v

 

5. OpenSSL 적용

# mv /usr/bin/openssl /usr/bin/openssl1.0.1(기존 openssl 백업)

# ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl

 

6. OpenSSL 확인

# openssl version

OpenSSL 1.1.1d 10 Sep 2019


반응형

'Linux' 카테고리의 다른 글

linux 시간 동기화  (0) 2022.03.21
CenOS6 Docker 설치  (0) 2022.03.21
yum list 갱신 및 nginx 설치(rhel6)  (0) 2022.03.21
Nginx + php 연동  (0) 2022.03.21
centos7 nginx 설치  (0) 2022.03.21