メインコンテンツへスキップ

分類自己署名証明書の有効期限が切れました

Views:
8
Visibility:
Public
Votes:
0
Category:
netapp_console
Specialty:
ds_dc
Last Updated:

環境

  • NetApp Console
  • データ分類

問題

  • X.509 サーバ証明書が分類サーバで無効/期限切れです
  • 次のコマンドは、分類サーバの SSL 証明書の有効期限が切れていることを示しています:
cd opt/netapp/Datasense
curl -s -v -k  https://localhost 2>&1  | grep 'expire date'
* Server certificate:
* subject: C=US; ST=NY; O=Company; CN=datasense; OU=Company; emailAddress=xxx@company.com
* start date: Jul 10 xx:xx:xx 2024 GMT
* expire date: Jul 10 xx:xx:xx 2025 GMT
* issuer: C=US; ST=NY; O=Company; CN=datasense; OU=Company; emailAddress=xxx@company.com
* SSL certificate verify result: self-signed certificate (18), continuing anyway.

原因

  • 分類サーバは、内部通信に自己署名のSSL証明書を使用します
  • この証明書の有効期限が切れると、コア機能に影響がない場合でも、セキュリティスキャナのアラートがトリガーされることがあります

解決策

nginxコンテナ内で証明書更新スクリプトを実行してClassificationの自己署名証明書を更新し、新しい証明書が使用されていることを確認します: 

  1. 有効期限の確認
    • cd /opt/netapp/Datasense
    • curl -s -v -k  https://localhost 2>&1  | grep 'expire date'
  2. 新しい証明書を生成
    • docker-compose --log-level ERROR run --user root --no-deps --rm -w "/data" ds_apiserver /data/tools/generate_self_signed.sh
  3. 再起動 nginx(このコマンドはdockerのみで、podmanの場合はコマンドが異なります)
    • docker service update --force `docker service ls | grep nginx | grep -v proxy | awk '{print $2}'`
  4. 有効期限を再度確認してください
    • cd /opt/netapp/Datasense
    • curl -s -v -k  https://localhost 2>&1  | grep 'expire date'
  5. 証明書が更新されない場合は、Classificationサーバをリブートしてください 

パートナーノート

partnerNotes_text
 

追加情報

追加情報

内部情報

内部情報

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.