안녕하세요 기술지원팀 서정민입니다.

apache 2.x 버전대랑 openssl 설치시 에러 났을때 해결하는 방법을 포스팅하려고 합니다.
SSL 인증서 설정이 완료된 후 아파치를 재시작했을 때 다음과 같은 에러가 발생할 수 있습니다.

SSLSessionCache: ‘shmcb’ session cache not supported (known names: ). Maybe you need to load the appropriate socache module (mod_socache_shmcb?).

이런 경우에는 아파치 환경설정 파일인 httpd.conf 파일을 열어서 수정해주면 오류를 해결할 수 있습니다.

#LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
vim 편집기로 httpd.conf 파일을 열었을 때 오류나는 모듈이 주석처리 되어 있는 것을 볼 수 있습니다.

LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
주석처리 되어 있는 것을 해제하고 파일을 저장합니다.
물론 /usr/local/apache/modules에 해당 모듈이 있어야 합니다.

다시 아파치를 재시작하면 오류가 사라지고 정상적으로 SSL이 적용되는 것을 확인할 수 있습니다.

+ Recent posts