>> Delete No. 46464 article
No. httpd.conf 파일중의 내용입니다.

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

아래와 같이 셋팅을 하였으며,
 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 prev
: : ious 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 val
: : ues 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]#
: : : :
: : : :
: : : : 물론 그냥 일반모드로 실행시키면 아파치가 잘 돌아갑니다..
: : : :
: : : : 왜그런지 이유를 알수가 없습니다..
: : : :
: : : : 경험자붙들의 도움을 부탁드리는 바입니다..
: : : :
: : : : 이거.. 오늘 못끝내믄 클나는데... 정말 큰일이네요..ㅡㅡ
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

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