 |
 |
 |
 |
|
>> Read No. 46467 article |
|
|
일단 성공은 했습니다.. 한가지더..
|
 |
 |
 |
 |

등록 2002-04-08 16:48:00
조회 2
이름 궁금이

|
 |
 |
훔...
<VirtualHost _default_:443>
이부분에 경로가 잘못되어 있어서 수정을 하고나니 제대로 작동을 하는군요
그런데.. 또한가지 문제가 되는것이..
제가 한대의 서버에 두개의 url 을 가지고 운영을 하고자 합니다.
두개의 url 각각에 대해서는 어떻게 설정을 해주어야 하는지요..
저는 두개를 설정하기위해 아까의 질문처럼..
<VirtualHost 192.168.100.4:443>
이런식으로 해서 각각의 설정을 하려했던것이거든요..
질문이 좀 난해한가요..ㅡㅡ
암튼.. 버추얼호스트를 이용해서 두개에 각각 다른 인증서를 설치하는
방법에 대해 도움을 주셨으면 합니다..
그럼..
:
: 아래와 같이 셋팅을 하였으며,
:
: ibotax.pem, ibotax.key, intermediate.pem 파일은 모두
:
: /home/htdocs/ibotax 디렉토리 안에 존재하고 있습니다.
:
: ㅡㅡ 계속된질문에 신경써주셔서 감사드리며.. 꼭 성공을했으면 하네요..
:
:
: <VirtualHost 192.168.100.4:443>
: ServerAdmin root at simplebook.co.kr : DocumentRoot /home/htdocs/ibotax
: ServerName www.ibotax.co.kr : SSLEngine on
: SSLCipherSuite ALL:!ADH:!EXP56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
:
: SSLCertificateFile /home/htdocs/ibotax/ibotax.pem
: SSLCertificateKeyFile /home/htdocs/ibotax/ibotax.key
: SSLCACertificateFile /home/htdocs/ibotax/intermediate.pem
:
: <Files ~ ".(cgi|shtml|phtml|php3|php|html|htm?)$">
: SSLOptions +StdEnvVars
: </Files>
: <Directory "/home/htdocs/ibotax">
: SSLOptions +StdEnvVars
: </Directory>
:
: SetEnvIf User-Agent ".*MSIE.*"
: nokeepalive ssl-unclean-shutdown
: downgrade-1.0 force-response-1.0
:
:
:
: CustomLog logs/access_log common
: <Directory "/home/htdocs/ibotax">
: Options Indexes FollowSymLinks MultiViews Includes ExecCGI
: AllowOverride None
: Order allow,deny
: Allow from all
: </Directory>
: </VirtualHost>
:
:
: : httpd.conf에다가 경로 설정 제대로 하셨는지요...
: : (xxx.key파일과 xxx-chain.pem 그리고 xxx.crt)이것들의 경로들을
: : 정확하게 매치 시켜야합니다.
: : 혹시 xxx.key파일이 디폴트로 되어있는 server.key 로 되어있지는 않으신지요?
: :
: : :
: : : [Mon Apr 8 15:53:22 2002] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of pr
: : : evious Apache run? [Mon Apr 8 15:53:22 2002] [error] mod_ssl: Init:(web1.ibotax.co.kr:443) Unable to configure
: : : RSA server private key (OpenSSL librar y error follows)
: : : [Mon Apr 8 15:53:22 2002] [error] OpenSSL: error:0B080074:x509 certificate routines:X509_check_private_key:key v
: : : alues mismatch
: : :
: : : 위와같은 세라인의 에러가 나는군요..
: : : 첫줄은.. 아파치가 안떠있는상태에서 stop 을 해주는 바람에 생긴것같고요
: : : 나머지 줄의 에러에 대한 해결책을 알려주세요..
: : :
: : : 참고로 인증은 베르사인에서 공식적인 서버인증값을 받아온것입니다.
: : :
: : :
: : :
: : :
: : : : /usr/local/apache/logs/ 여기 밑에있는 error로그를 참조하세요...
: : : : :
: : : : : 이것때문에 몇일간 골치를 썩고 있습니다.
: : : : :
: : : : : 문서에 따라서 openssl 부터 시작하여 아파치 + mod_ssl 까지 모두
: : : : :
: : : : : 설치를 끝마쳤습니다.. 물론 에러도 없이요..
: : : : :
: : : : : 그런데.. apachectl startssl 을 할때 문제가 생기더군요..
: : : : :
: : : : : 특별한 에러메세지도 없습니다만, httpd 가 뜨질 않는 문제입니다.
: : : : :
: : : : : ---------------<실행 화면>------------------
: : : : : [ibotax]# /usr/local/apache/bin/apachectl startssl
: : : : : Apache/1.3.23 mod_ssl/2.8.7 (Pass Phrase Dialog)
: : : : : Some of your private key files are encrypted for security reasons.
: : : : : In order to read them you have to provide us with the pass phrases.
: : : : :
: : : : : Server www.ibotax.co.kr:443 (RSA)
: : : : : Enter pass phrase:
: : : : :
: : : : : Ok: Pass Phrase Dialog successful.
: : : : : /usr/local/apache/bin/apachectl startssl: httpd started
: : : : : [ibotax]#
: : : : :
: : : : :
: : : : : 위와같이 정상적으로 실행이 되어졌습니다만, 바로 이어서
: : : : :
: : : : : ps aux | grep httpd 하면.. 프로세스가 떠있질 않는것을 볼수 있습니다.
: : : : :
: : : : : ---------------<실행 화면>--------------------
: : : : : [botax]# ps aux | grep httpd
: : : : : root 3614 0.0 0.0 1428 476 pts/2 S 15:17 0:00 grep httpd
: : : : : [botax]#
: : : : :
: : : : :
: : : : : 물론 그냥 일반모드로 실행시키면 아파치가 잘 돌아갑니다..
: : : : :
: : : : : 왜그런지 이유를 알수가 없습니다..
: : : : :
: : : : : 경험자붙들의 도움을 부탁드리는 바입니다..
: : : : :
: : : : : 이거.. 오늘 못끝내믄 클나는데... 정말 큰일이네요..ㅡㅡ
 | |
|
|
|
|
페이지로딩: [ 0.52 초 ]
작업시간: [ 0.22 초 ]
|
|
 |
 |
![[TOP]](/images/color///top.gif) 
|
 |
 |
 |
 |
|
|