Skip to content

When using content option on PfxImport with certificate twice in pfx private key gets lost #261

Open
@manschwetusCF

Description

@manschwetusCF

I generated my pfx file with ansible and included the fullchain also, to ensure no intermediate certificates are missing. But the fullchain file also includes the certificate itself, so the certificate gets added a second time to the pfx file, this seems to break the private key import using Import-PfxCertificateEx @importPfxCertificateParameters -Base64Content $Content. As I don't see a point to get this point handled in code, I think this should be documented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions