>> Delete No. 66465 article
No. 다시 질문 openssl / mod_ssl / apache 설치에 관하여

등록 2003-02-11 14:17:00 By localhost     조회 5
이름 초보관리자    

		openssl & mod_ssl & apache 설치 중입니다.
 아래의 설치 내용에 문제가 없는지 확인좀 부탁드립니다.
 Redhat 7.3 기반입니다.
 openssl 설치
rpm -e openssl --nodeps
http://www.openssl.org/source/ 에서 최신 버전을 다운 받는다.
wget http://www.openssl.org/source/openssl-0.9.7.tar.gz cd openssl-0.9.7
./config --prefix=/usr/local/ssl
make && make test && make install
key 파일 생성
cd /usr/local/ssl/bin
./openssl genrsa -des3 -out server.key 1024
server.key 가 잘 생성되었는지 확인한다.
./openssl rsa -noout -text -in server.key
생성된 키로 csr 파일을 생성한다
./openssl req -new -key server.key -out server.csr
인증기간으로 부터 인증파일(crt)이 올때 까지 테스트로 자체 crt 파일을 생성.
./openssl req -x509 -key server.key -in server.csr > server.crt
잘생성되었는지 확인한다.
./openssl x509 -noout -text -in server.crt
 mod_ssl 설치
http://www.modssl.org/source/ 에서 아파치 버전과 동일한 최신버전을 다운 받는다.
wget http://www.modssl.org/source/mod_ssl-2.8.12-1.3.27.tar.gz tar xzf mod_ssl-2.8.12-1.3.27.tar.gz
Apache 소스 압축 해제
wget http://www.apache.org/dist/httpd/apache_1.3.27.tar.gz tar zxf apache_1.3.27.tar.gz
cd mod_ssl-2.8.12-1.3.27
configure 설정
./configure --with-apache=../apache_1.3.27 --with-ssl=../openssl-0.9.7 --with-crt=/usr/local/ssl/bin/server.crt --with-k
ey=/usr/local/ssl/bin/server.key --enable-module=so --enable-shared=max  Apache 설치
cd apache_1.3.27
configure 설정
SSL_BASE=/usr/local/src/openssl-0.9.7 ./configure --prefix=/usr/local/apache --enable-module=ssl --enable-module=so --en
able-rule=SHARED_CORE --enable-shared=max 컴파일
make && make install
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved