본문 바로가기
개발

apache2 Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server conf 문제 해결

by 클로드 2021. 7. 29.
반응형

증상

apache2 conf 설정을 한 후 서비스를 재시작하려고 할 때 실패를 하고

systemctl status apache2.service 시

Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server conf

에러 문이 나오면서 apache2 서비스가 시작이 안된다

 

서버 환경

AWS

ubuntu18.04

 

원인

apache2 ssl 모듈이 로드가 되지 않아서 에러가 생긴 것

 

해결

sudo a2enmod ssl

sudo service apache2 restart

apache2 ssl 모듈을 활성화한 후

apache2 서비스 재시작을 하여 해결

반응형

댓글