Over many years with many cert replacements this has never been a problem. All of a sudden I'm getting this odd socket connection error. I ran my usual commands to replace the cert:
Set-AdfsCertificate -CertificateType Service-Communications -Thumbprint ******
Updated fine. New cert is displayed in ADFS Manager.
Set-AdfsSslCertificate -Thumbprint ******
Set-AdfsSslCertificate : The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an
underlying network resource issue. Local socket timeout was '00:01:00'.
At line:1 char:1
+ Set-AdfsSslCertificate -Thumbprint ****** ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-AdfsSslCertificate], CommunicationException
+ FullyQualifiedErrorId : System.ServiceModel.CommunicationException,Microsoft.IdentityServer.Management.Commands.SetSslCertificateCommand
Commands are being run on my one and only ADFS server. SRV2016.
The only hint I could find on the internet was to make sure WinRM was up and running and it is. I'm at a loss here. I'd appreciate any help someone could give me.
SPN info for physical machine:
Registered ServicePrincipalNames for CN=WEB,OU=Servers,DC=******,DC=com:
TERMSRV/WEB
TERMSRV/web.******.com
WSMAN/web
WSMAN/web.******.com
RestrictedKrbHost/WEB
HOST/WEB
RestrictedKrbHost/web.******.com
HOST/web.******.com
SPN info for managed ADFS account:
Registered ServicePrincipalNames for CN=ADFS,CN=Managed Service Accounts,DC=******,DC=com:
HOST/adfs
host/adfs.******.com