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

Import-Tppcertificate prompting for Private Key... #37

Closed
fearnie85 opened this issue Nov 9, 2021 · 2 comments
Closed

Import-Tppcertificate prompting for Private Key... #37

fearnie85 opened this issue Nov 9, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@fearnie85
Copy link

Hi All,

I am trying to import a p12 file.
$POlPathEPO = "\VED\Policy\Certificates\Folder1234"
$p12cert_path = C:\Cert\MQ\somecert.p12

Import-TppCertificate -PolicyPath $POlPathEPO -CertificatePath $p12cert_path -Password $password2 -VenafiSession $sesh

However, it is constantly prompting for a PrivateKey... I don't understand as p12 includes this. I also changed name to pfx and same issue...

I manually exported the privatekey and the same issue continues.

Am I doing something wrong?
The p12 is a certificate chain. Cert, Intermediate & root...
I tested with just the cert and the same issue continues.

Please let me know what I am doing wrong. thanks!

@gdbarron gdbarron added the bug Something isn't working label Nov 9, 2021
@gdbarron gdbarron self-assigned this Nov 9, 2021
@gdbarron
Copy link
Collaborator

gdbarron commented Nov 9, 2021

It's not you, there's a small issue with the parameter sets. Will fix shortly.

gdbarron added a commit that referenced this issue Nov 9, 2021
@fearnie85
Copy link
Author

Perfect thanks a lot! And great work on this module! We've totally utilized it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants