DPSearch - 새 SSL 인증서를 설치한 후 NGINX 서비스를 시작하지 못합니다.

Summary: DPSearch 크랙: 새 SSL(Secure Socket Layer) 인증서를 설치한 후 NGINX 서비스가 시작되지 않고 비밀번호 문구 오류가 발생합니다.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

새 SSL 인증서가 설치된 후 NGINX 서비스가 시작되지 않고 아래와 유사한 오류 메시지가 생성됩니다.

Feb 08 06:45:07 hostname systemd[1]: Starting LSB: nginx...
Feb 08 06:45:07 hostname nginx[6873]: Starting nginx Enter PEM pass phrase:
Feb 08 06:45:07 hostname nginx[6873]: nginx: [emerg] cannot load certificate key "/usr/local/search/etc/cert/server.key": PEM_read_bio_PrivateKey() failed (SSL: error:0906406D:PEM routines:PEM_def_callback:problems getting password error:0907B068:PEM routines:PEM_READ_BIO_PRIVATEKEY:bad password read)
Feb 08 06:45:07 hostname startproc[6879]: startproc:  exit status of parent of /usr/local/nginx/sbin/nginx: 1
Feb 08 06:45:07 hostname nginx[6873]: ..failed
Feb 08 06:45:07 hostname systemd[1]: nginx.service: Control process exited, code=exited status=7
Feb 08 06:45:07 hostname systemd[1]: Failed to start LSB: nginx.
Feb 08 06:45:07 hostname systemd[1]: nginx.service: Unit entered failed state.
Feb 08 06:45:07 hostname systemd[1]: nginx.service: Failed with result 'exit-code'.

Cause

개인 키에는 비밀번호 문구 요구 사항이 있지만 NGINX는 비밀번호 문구를 사용하도록 구성되지 않았습니다. 

Resolution

다음 단계에서는 암호문구가 필요 없는 개인 키 파일을 만듭니다.

  1. 기존 server.key 파일 이름을 server_pass.key로 바꿉니다.
    mv server.key server_pass.key
 
 
  1. 암호문구가 필요하지 않은 새 키를 생성합니다. RSA 키가 사용 중이라고 가정합니다. 그렇지 않으면 그에 따라 명령을 조정하십시오. 메시지가 표시되면 암호문구를 입력하고 Enter 키를 누릅니다.
    openssl rsa -in server_pass.key -out server.key
 
  1. NGINX 서비스를 중지했다가 시작하고 오류 메시지가 표시되지 않는지 확인합니다.
    service nginx stop
    service nginx start
    service nginx status
 
  1. 검색 홈 페이지로 이동합니다. 올바른 SSL 인증서 정보가 표시되는지 확인합니다.
 

Affected Products

Data Protection Search, Data Protection Search
Article Properties
Article Number: 000208401
Article Type: Solution
Last Modified: 22 Aug 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.