Apache 설치 시 기본적인 ssl 옵션을 줄 경우, OS에 설치 된 OpenSSL을 가지고 설치됩니다. OS의 OpenSSL의 버전이 낮아 취약할 경우, 상위 버전의 OpenSSL을 통해 Apache를 설치하는 방법에 대해 알아 보겠습니다. 설치에 사용한 Apache 버전은 2.4.37 이며 OS는 CentOS6 bin-DVD로 설치했습니다. (minimal 버전이 아닙니다.)
소스 설치와 패키지 설치 나름의 장,단점이 있지만 이미 옛날부터 회사에서 소스 설치로 Apache를 꾸려왔었기 때문에.. 저도 소스설치부터 시작해서 정리하게 되었습니다. 최종적으로 PHP도 같이 연동해야 하지만 이 포스팅에 정리하기엔 양이 많아 Apache 설치 및 구동, OpenSSL 과 같이 설치 이 두 가지에 대해 정리하겠습니다. 설치에 사용한 Apache 버전은 2.4.37 이며 OS는 CentOS 6 bin-DVD로 설치했습니다. (minimal 버전이 아닙니다.)
apache의 DocumentRoot 경로에 phpinfo.php를 아래와 같이 작성
<?php phpinfo(); ?>
회사에서 맡은 제품 중 하나가 Apache 와 PHP 기반입니다. 항상 PHP 소스만 수정하다가 Apache를 변경하는 시점이 왔습니다. Apache를 소스 설치 할 때는 configure 명령과 make…