I have ADFS 4.0 on an Azure VM and am trying to add ADFS as a provider to my Azure AD B2C tenant.
I have set up all the custom policies.
I am using OpenID Connect as the protocol.
My ADFS SSL certificate is self-signed and I have certificate rollover for the encryption and signing certificates.
The error I get in Application Insights is:
Exception {"Kind":"Handled","HResult":"80131501","Message":"The remote certificate is invalid according to the validation procedure.","Data":{}} Kind Handled HResult 80131501 Message The remote certificate is invalid according to the validation procedure.
I presume that I need to upload the ADFS SSL certificate to Azure AD B2C Policy Keys? How would I do that?
Also, in the CryptographicKeys section, what would that look like? In particular - what to use for the "KeyId"?