Skip to content

?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

개인키에서 패스워드 삭제하기...


# 상황 #

- 처음 개인키 생성시 2개의 도메인에 각각 패스워드를 넣어 CSR 코드값을 발급 받았다..

- 아파치를 SSL 모드로 시작하려고 하니 한 번이 아닌 두 번의 패스워드를 물어본다.

- 한번만 물어보면 어떻게 해보겠는데.... 쓰읍~



# /etc/init.d/apachectl startssl
Apache/2.0.63 mod_ssl/2.0.63 (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.abc.com:443 (RSA)
Enter pass phrase:

Server www.abc.co.kr:444 (RSA)
Enter pass phrase:

Ok: Pass Phrase Dialog successful.




# 해결방법 #



- 한 개의 패스워드로 하였다면 간단히 해결 가능하지만, 이미 엎지러진 물... 어떻게해야 이 고비를 넘어갈까?

- 이미 발급한 개인키를 다른 이름으로 돌려놓고 새로운 개인키를 발급 받으면 된다.

1. 아래와 같이 명령을 내리면 패스워드를 물어볼 것이다.  최초 개인키를 생성했을때 패스워드를 넣어준다.

openssl rsa -in /usr/local/apache/conf/ssl.key/abc.com.key -out /usr/local/apache/conf/abc.com.key.insecure


2. 기존 파일 이름을 변경해준다.

mv /usr/local/apache/conf/ssl.key/abc.com.key /usr/local/apache/conf/ssl.key/abc.com.key.secure


3. 위 1번에서 새로 생성한 개인키로 교체해준다.

mv /usr/local/apache/conf/ssl.key/abc.com.insecure /usr/local/apache/conf/ssl.key/abc.com.key


4. 아파치 SSL 모드로 시작해보면 패스워드를 물어보지 않을 것이다.



http://www.seroot.com/


  1. CentOS 5.X 에 MRTG설치 할때 한글 문제

    Date2014.06.06 ByADMINPLAY Views6878
    Read More
  2. [Apache] 2.4 버전에서 403 에러시 [authz_core:error AH0...

    Date2015.01.09 ByADMINPLAY Views7280
    Read More
  3. SetEnvIf 지시어 설명 (mod_setenvif)

    Date2014.01.18 ByADMINPLAY Views7385
    Read More
  4. tomcat 에서 OutOfMemory에러가 발생할때

    Date2013.09.09 ByADMINPLAY Views8767
    Read More
  5. APM설치 후 80포트가 연결이 안되요....ㅜㅜ

    Date2013.02.14 Bykimbongsoo Views9803
    Read More
  6. apache 설치시 에러 발생 collect2: ld returned 1 exit s...

    Date2013.03.12 ByADMINPLAY Views9811
    Read More
  7. WAS 란? WAS 뭐에요?

    Date2014.01.19 ByADMINPLAY Views10963
    Read More
  8. 우분투9.10 - Tomcat6 와 Apache2연동

    Date2012.10.31 ByADMINPLAY Views11402
    Read More
  9. Apache expires 설정으로 브라우저 캐시

    Date2013.03.18 Byl2zeo Views11893
    Read More
  10. 웹페이지 가속 기술인 모드 페이지스피드(mod_pagespeed)...

    Date2013.01.27 Byl2zeo Views12145
    Read More
  11. Apache 1.3.12 httpd.conf 파일 한글설명

    Date2009.03.04 ByADMINPLAY Views13361
    Read More
  12. apache log 정리

    Date2008.12.14 ByADMINPLAY Views13527
    Read More
  13. [자료] 웹사이트 성능개선 위한 커널 튜닝 사례

    Date2009.05.10 ByADMINPLAY Views13767
    Read More
  14. Apache 웹서버 MaxClient 최대값 조정을 위한 C & CPP 플...

    Date2009.06.21 ByADMINPLAY Views13815
    Read More
  15. 사용자 인증

    Date2009.11.26 ByADMINPLAY Views14017
    Read More
  16. CGI 오류: Premature end of script headers (Internal Se...

    Date2008.12.14 ByADMINPLAY Views14127
    Read More
  17. SSL 인증서 발급 후 SSL mode 시작시 두 개의 패스워드 입...

    Date2009.10.15 ByADMINPLAY Views14176
    Read More
  18. httpd.conf 파일에 대한 설명 / 번역

    Date2008.10.08 ByADMINPLAY Views14196
    Read More
  19. apache 에서 euc-kr홈페이지를 포팅할때 화면이안나올경우

    Date2009.07.18 ByADMINPLAY Views14217
    Read More
  20. rewrite 모듈을 이욜한 서브도메인으로 홈페이지 운영하기

    Date2009.11.26 ByADMINPLAY Views14217
    Read More
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234