-
Notifications
You must be signed in to change notification settings - Fork 8
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
Find-VenafiCertificate Does not get all certs for my venafi instance #234
Comments
Hi @aprajitapriya. Can you please provide the following info that was requested in the bug report template: Operating System: How many should there be and how many are missing? As you are using |
Hi @gdbarron, Thanks for your response. Using the latest version I am getting all the certs. But a lot of properties have changed. I had my report running that used application.name property for some filters. I don't see that property anymore. Thanks, |
When I use the Find-VcCertificate -ApplicationDetail I get an error that parameter cannot be found |
I'm not seeing any issues with application.name not being available as long as |
Thanks for your responses. I have been able to get the info that I need using VenafiPS module. Can you let me know the command for downloading cert in pkcs12 format using VenafiPS module? |
In order to download the certificate I am passing certificate ID, output path and private key to the cmdlet Export-VcCertificate. But it errors out saying "Cannot bind argument to parameter 'Path' because it is null." |
can you please provide a screenshot of the command and error? |
If the -ID parameter actually needs the full path to certificate, where or how can I find that Path? |
@gdbarron I saw you pushed a fix for this. Do you have an ETA by when I can see this in a new VenafiPS version? |
Should be out today. Also, pkcs12 export for TLSPC isn't supported quite yet, but PEM is and you can always use openssl to convert for now. |
Sure thanks for fixing this. |
@aprajitapriya you should be all set. GitLab, where signing and deployments are done, had a pipeline outage and only part of it was successful. This has now been resolved. |
I am using below code to get the details for all certs in my venafi instance but I see that few certs are missed by this call
Install-Module VenafiPS
Import-Module VenafiPS
$SecureStringPwd = $ApiKey | ConvertTo-SecureString -AsPlainText -Force
$Creds = New-Object System.Management.Automation.PSCredential($VenafiUserEmail, $SecureStringPwd)
$sessionobject = New-VenafiSession -VaasKey $Creds
$today = Get-Date
$mycert = Find-VenafiCertificate
The text was updated successfully, but these errors were encountered: