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

Cannot export non-exportable private key #138

Open
repgg00 opened this issue Nov 28, 2023 · 1 comment
Open

Cannot export non-exportable private key #138

repgg00 opened this issue Nov 28, 2023 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@repgg00
Copy link

repgg00 commented Nov 28, 2023

Hi, I have been working on SSL Automation on my Azure Account.
I have imported the ACME-PS module into my automation account.

ACME-PS PowerShell module
Version: 1.5.7

However, I have encountered the following:

�[91mExport-PfxCertificate: �[91mCannot export non-exportable private key.�[0m

Based on what I've research, the fix for this is to enable the private key exportable upon cert creation.
Since I am using the ACME-module and there's no way I can directly just append an enable command into my script does it mean I have to download the whole source code, update script then build.
After that import the module to the automation account?

@repgg00 repgg00 added the question Further information is requested label Nov 28, 2023
@glatzert
Copy link
Collaborator

I'm a little bit irritated, that something like that would show up now.
There might be a change in a used command with .net 8 / PS 7.4, but the current version works well on my on-prem windows machines with PS 5.1.
If you have already patched the problem, you could open a PR and we'll take a look?

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

No branches or pull requests

2 participants