I want to configure an expiration period of 5 years for a root CA certificate on NetApp ONTAP via its API.
The expiry_time
is documented like this:
expiry_time
Certificate expiration time. Can be provided on POST if creating self-signed certificate. The expiration time range is between 1 day to 10 years.
An example for 365 days is P365DT
. I am not aware of a format to specify time periods like this. Can someone tell me how this works? How do I specify 5 years in that format?