Windows Event Forwading / HTTPS - Selecting Client Certificate

Kendal Montgomery 11 Reputation points
2021-02-02T15:32:09.417+00:00

Hello all.

I've followed instructions to set up windows event forwarding to a remote collector using HTTPS (since the collector is a non-domain machine). Everything seems to work great, except in the case where the forwarder (client) has an existing client certificate in the certificate store that is also allowed to be used for client authentication (seems even if it is not named using the machine's FQDN). For instance -- if I have a Certificate Authority installed on the machine and the CA certificate is in the certificate store, and it's marked as available for all purposes, the client certificate I generated specifically for use for the WinRM / WEF setup doesn't necessarily get used to authenticate to the remote WEC. Is there a way to configure a thumbprint of the certificate that should be used in this case?

Thanks in advance.

Kendal

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. MaxPowell 15 Reputation points
    2023-03-02T09:26:03.0066667+00:00

    Hi, I just found this question after days and days of searching. I have EXACTLY the same problem and the same scenario.

    Has Microsoft released any solution for this?

    If my server only has ONE certificate, it works, but as soon as I implement this config on a server with severals certifiactes in the 'Personal' store, it breaks down. :/


  2. MORAND Xavier 0 Reputation points
    2023-03-07T13:45:48.05+00:00

    I think the issue is the same here : https://learn.microsoft.com/en-us/answers/questions/1185804/(bug-)-how-to-specify-client-certificate-used-for?page=1&orderby=Helpful#answers

    It select the certificate with the highest thumbprint. So a partial solution seems to be to renew the certificate till the thumbprint is the highest of all the certificates.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.