tlsserver Profile
Let's Encrypt supports ACME profiles. The tlsserver profile is intended for TLS server certificates and can have different lifetime behavior from the default profile.
Use -Profile tlsserver to request it:
$requestParams = @{
ManagementURL = 'https://ns-01.domain.local'
SkipCertificateCheck = $true
Profile = 'tlsserver'
Credential = $credential
CN = 'portal.example.com'
CsVipName = "cs_example.com_http"
ValidationMethod = 'http'
CertKeyNameToUpdate = 'portal.example.com'
CertDir = 'C:\Certificates'
EmailAddress = 'hostmaster@example.com'
LogFile = "C:\Certificates\portal_example_com_certgen.txt"
}
Request-NSACMECertificate @requestParams
Renewal Behavior
NetScalerToolkit stores provider and renewal metadata when available. It prefers refreshed Posh-ACME order metadata, including provider renewal windows when supported, and falls back to calculating the renewal window from the actual certificate lifetime.
This avoids assuming a fixed certificate lifetime. See Renewal Behavior.
Notes
- Shorter lifetimes increase the importance of reliable scheduled automation.
- Do not use
tlsclientfor ordinary NetScaler TLS server certificates.