Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
manschwetusCF opened this issue Mar 8, 2022 · 1 comment

Comments

@manschwetusCF
Copy link

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.

@manschwetusCF
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant