[Linux] openSSL 버전 업그레이드

이상목·2023년 8월 22일

Linux

목록 보기
3/3
post-thumbnail

1. 현재 버전 확인

  • openssl version

OpenSSL 1.0.1e-fips 11 Feb 2013

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

/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​

https://star992411.tistory.com/7

profile
기록은 기억을 지배한다.

0개의 댓글