Hi
My environment is server 2012 R2 + ADFS 3.0 for office 365. The certifcate has expired, when i run Update-ADFSCertificate -CertificateType: Token-Signing -Urgent:$true, it generate an error.
PS C:\Windows\system32> Update-ADFSCertificate -CertificateType: Token-Signing -
Urgent:$true
Update-ADFSCertificate : The server was unable to process the request due to
an internal error. For more information about the error, either turn on
IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from
the <serviceDebug> configuration behavior) on the server in order to send the
exception information back to the client, or turn on tracing as per the
Microsoft .NET Framework SDK documentation and inspect the server trace logs.
At line:1 char:1
+ Update-ADFSCertificate -CertificateType: Token-Signing -Urgent:$true
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Update-AdfsCertificate], Fault
Exception
+ FullyQualifiedErrorId : The server was unable to process the request due
to an internal error. For more information about the error, either turn
on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or
from the <serviceDebug> configuration behavior) on the server in order to
send the exception information back to the client, or turn on tracing as
per the Microsoft .NET Framework SDK documentation and inspect the server
trace logs.,Microsoft.IdentityServer.Management.Commands.UpdateCertificate
Command