Share via

Certificate duplicated

Duchemin, Dominique 2,011 Reputation points
2022-03-03T04:10:15.717+00:00

Hello,

When you have two certificates with the same name and content installed at different dates and still valid which one is selected/used by the services or application?
179521-2022-03-02-20-07-03-certificate.png

Thanks,
Dom

Windows for business | Windows Server | Devices and deployment | Configure application groups
0 comments No comments

Answer accepted by question author

Vadims Podāns 9,266 Reputation points MVP
2022-03-03T15:31:20.82+00:00

It is application-specific decision, there is no universal or close-to-universal answer. Every application implements its own logic on how to filter the most suitable certificate and vary from application to application.

Speaking to Microsoft SQL (as I guess from cert's friendly name), then it uses the certificate which is explicitly assigned to service via SSCM (SQL Server Configuration Management): https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/manage-certificates?view=sql-server-ver15
you have to explicitly assign it there, otherwise SQL will use a built-in self-signed certificate and will ignore what you have installed in certificate store.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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