openssl 업그레이드
openssl 업그레이드 CENTOS 5.11 에 openssl RPM은 0.9.8버전까지 밖에 없다. 그래서 소스설치로 업그레이드 하였다.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
wget https://www.openssl.org/source/openssl-1.0.2h.tar.gz $ tar -zxf openssl-1.0.1g.tar.gz $ cd openssl-1.0.1g $ ./config $ make $ make test $ make install $ openssl version |
이렇게 버전확인 했는데 command not found 면 기존 RPM버전과 충돌로 인한것이다. 아래처럼 실행하자
1 2 3 |
$ mv /usr/bin/openssl /root/ $ ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl |
openssl version 참고: http://stackoverflow.com/questions/22952287/how-to-upgrade-openssl-in-centos-6-5-linux-unix-from-source