OpenSLL 공식 홈페이지

https://www.openssl.org/

 

 

/index.html

Welcome to OpenSSL! The OpenSSL Project develops and maintains the OpenSSL software - a robust, commercial-grade, full-featured toolkit for general-purpose cryptography and secure communication. The project’s technical decision making is managed by the O

www.openssl.org

 

설치 파일을 내려받는다.

$ wget https://www.openssl.org/source/openssl-1.1.1s.tar.gz

 

설치를 진행하기 전에 패키지 업데이트 및 업그레이드 진행

$ sudo apt update && sudo apt upgrade
$ sudo apt install build-essential checkinstall zlib1g-dev -y

 

설치 경로 지정

$ cd openssl-1.1.1s

$ ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib

 

$  ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib

설치 파일 컴파일

$ make

$ make test

 

make test

 

설치

$ sudo make install

 

라이브러리 링크 설정

$ cd /etc/ld.so.conf.d/

$ vi openssl-1.1.1s.conf

 

해당 경로 추가

/usr/local/ssl/lib

 

openssl-1.1.1s.conf

 

리로드 동적 링크

$ sudo ldconfig -v

 

OpenSSL 바이너리 파일 설정

$ mv /usr/bin/c_rehash /usr/bin/c_rehash.BEKUP
$ mv /usr/bin/openssl /usr/bin/openssl.BEKUP

 

환경파일 경로 추가

$ vi /etc/environment

:/usr/local/ssl/bin

 

/etc/environment

 

리로드 환경설정 및 출력

$ source /etc/environment

$ echo $PATH

 

설치한 OpenSSL 버전 확인

$ openssl version -a

openssl version -a

'Linux' 카테고리의 다른 글

[OpenSSL] RAND_DRBG_new  (0) 2022.11.21
Install library ncurses  (0) 2022.11.18
Setup ssh on Ubuntu 20.04.4 LTS  (0) 2022.10.04
Colorscheme not working in Putty  (0) 2022.09.01
vimrc colorscheme  (0) 2022.08.28

+ Recent posts