debian 에서 lighttpd 의 https 설정

참고:http://redmine.lighttpd.net/wiki/lighttpd/Docs:SSL
 
1. 인증서 생 성
디 렉 터 리 / etc / ssl / certs / 에 들 어가 명령 을 실행 합 니 다.
#openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes
알림 에 따라 해당 내용 을 작성 한 후 server. pem 파일 을 생 성 합 니 다.
 
2. lighttpd. conf 설정 옵션 수정
vim /etc/lighttpd/lighttpd.conf
다음 내용 추가:$SERVER["socket"] == ":443" { ssl.engine = "enable" ssl.pemfile = "/etc/ssl/certs/server.pem" }

3. lighttpd
#/etc/init.d/lighttpd restart
, ! , !

좋은 웹페이지 즐겨찾기