DPSearch - 新しいSSL証明書をインストールした後、NGINXサービスの開始に失敗します。
Summary: DPSearch: 新しいSecure Socket Layer(SSL)証明書をインストールした後、パスフレーズ エラーが発生して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
次の手順では、パスフレーズの要件なしでプライベート キー ファイルを作成します。
- 既存のserver.keyファイル名を「server_pass.key」に変更します。
mv server.key server_pass.key
- パスフレーズを要求せずに新しいキーを作成します。RSAキーが使用されていることが想定されます。それ以外の場合は、それに応じてコマンドを調整します。プロンプトが表示されたら、パスフレーズを入力してEnterを押します。
openssl rsa -in server_pass.key -out server.key
- NGINXサービスを停止して開始し、エラー メッセージが表示されていないことを確認します。
service nginx stop service nginx start service nginx status
- 検索ホーム ページに移動します。正しいSSL証明書情報が表示されていることを確認します。
Affected Products
Data Protection Search, Data Protection SearchArticle 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.