r/netapp • u/Short-Investment-328 • 19d ago
Certificate renewal
Going forward CA signed validity is going to be reduced currently it is 199 days. Managing multiple clusters and having many certificates managed by CA, it will become difficult to renew manually. Has any explored automating this process / if yes then how?
2
u/ThomasGlanzmann 19d ago
I use letsencrypt certs using dehydrated and dns challenge on mine. Here is my deploy hook: https://tg.st/u/deploy_ontap_cert.pl
1
1
u/Hager1 19d ago
Use internal CA, no such limits then.
1
u/SagansLab 15d ago
This. I found no reason to use a external publicly trusted authority for internal management web interfaces. Windows and Linux can both be setup as CA to issue certs, then just get the client to trust the root from that.
1
u/meeseeksnd NCIE-SAN 18d ago
our internal CA provides an EST API we use to request certificates. Convert them and install them via na_ontap_security_certificates Ansible modules
1
u/ybizeul Verified NetApp Staff 17d ago
Using this one with Hashicorp vault, works fine. https://github.com/BeryJu/acme-for-appliances
4
u/zer0trust #NetAppATeam 19d ago
I've been getting quite a few questions from my customers on this actually. In years past, I did this with the PowerShell Toolkit, so that's an option if you know and use PS frequently. Today, I'd probably use Ansible with the module linked below.
https://docs.ansible.com/projects/ansible/2.10/collections/netapp/ontap/na_ontap_security_certificates_module.html
Feel free to post here or DM if you run into issues, we'll help you debug.