NetAppSSLCertificateRenew

1.6

ONTAP uses self-signed certificates by default for management
of the environment.  These certificates have a typical expiration date of 1 year (365 days).  
This KB describes the process to recreate the certificates:  
https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_renew_a_Self-Signed_SSL_certificate_in_ONTAP_9

This script han
ONTAP uses self-signed certificates by default for management
of the environment.  These certificates have a typical expiration date of 1 year (365 days).  
This KB describes the process to recreate the certificates:  
https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_renew_a_Self-Signed_SSL_certificate_in_ONTAP_9

This script handles the steps outlined in the article by doing the following:
   1) Connecting to a cluster
   2) Collecting all existing certificates
   3) Ensuring the certificate is self-signed
   4) Creates a new certificate with the same properties as the previous one with a 10 year expiration
   5) Configures SSL on the SVM to use the new certificate
   6) Deletes the previous self-signed certificate

Special thanks for inspiration from N.E. at:
http://community.netapp.com/t5/OnCommand-Storage-Management-Software-Discussions/Can-t-add-a-cluster/m-p/62376

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name NetAppSSLCertificateRenew

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Package Details

Author(s)

  • mcgue

Dependencies

This script has no dependencies.

FileList

Version History

Version Downloads Last updated
1.6 (current version) 657 9/9/2021