Skip to content

Multiple certificates with the same name #121

@Resident-Alien

Description

@Resident-Alien

For DSC MOF encryption and WinRM HTTPS all of my servers end up with 2 certificates. Unfortunately the method in which get xcertreg uses to determine if the cert already exists is simply the subject name and the CA's name. So when you have two certs with the same name but each has a different ability and unique friendly name the DSC gets very confused and keeps re-issuing certs. The common issue is here:

The certificate with subject 'CN=%hostnme%' issued by '%internal CA%' with thumbprint $Thumbprint has the wrong template $templatename.

We need to add something to the check routine beyond just the subject and the CA.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThe issue is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions