Skip to main content
NetApp Knowledge Base

Classification Self-Signed Certificate expired

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

Applies to

  • NetApp Console
  • Data Classification

Issue

  • X.509 server certificate Is invalid/expired on Classification server
  • The following command shows the SSL certificate is expired the Classification server:
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.

Cause

  • The Classification server uses a self-signed SSL certificate for internal communications
  • When this certificate expires, it may trigger security scanner alerts, even though core functionality is not affected

Solution

Run the certificate renewal script inside the nginx container to renew the Classification self-signed certificate and ensure the new certificate is used: 

  1. Check expire date
    • cd /opt/netapp/Datasense
    • curl -s -v -k   https://localhost 2>&1  | grep 'expire date'
  2. Generate new certificate
    • docker-compose --log-level ERROR run --user root --no-deps --rm -w "/data" ds_apiserver /data/tools/generate_self_signed.sh
  3. Restart nginx(this command only for docker, for podman the command is different)
    • docker service update --force `docker service ls | grep nginx | grep -v proxy | awk '{print $2}'`
  4. Check expire date again
    • cd /opt/netapp/Datasense
    • curl -s -v -k   https://localhost 2>&1  | grep 'expire date'
  5. If the certificate does not update reboot the Classification server 

Partner Notes

partnerNotes_text
 

Additional Information

additionalInformation_text

Internal Notes

internalNotes_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.