If you use a self-signed certificate and certificate chain errors occur, run the following PowerShell command:
Set-ADFSClaimsProviderTrust -TargetName Display Name from above -SigningCertificateRevocationCheck None