Create signing and encryption certificate that lasts 100 years in Windows 2012R2 server

Create signing and encryption certificate that lasts 100 years in Windows 2012R2 server;
Set-ADFSProperties -CertificateDuration 36500 -AutoCertificateRollover $true
Update-AdfsCertificate -CertificateType Token-Decrypting -Urgent
Update-AdfsCertificate -CertificateType Token-Signing -Urgent
Set-ADFSProperties -AutoCertificateRollover $false 

No comments: