You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
We want to use PowerShell to automate certificate provisioning via Venafi API during machine rebuild process (re-imaging). I run New-TPPCertificate with parameters Path and Name.
Command completes properly without error nor warning. I receive GUID and CertificateDN.
I can find the certificate using Find-TPPCertificate
I can successfully validate the certificate using Invoke-VenafiCertificateAction -Validate
However I cannot obtain that cert using Get-TPPCertificate as I'm getting error that SubjectDN is empty.
Exact error: "500 : {"Stage" : 0, "Status" : "Request DN is empty. Please configure the certificate properly"}
How is that a command that creates a certificate completes successfully but creates a bad cert?
How is that a command that validates a certificate claims that a bad cert is actually valid?
Environment:
Test lab, no internet access, only on-prem intranet.
Hi @MichalZyzakCS, thanks for reporting this. What you are seeing is a combination of a few things. As you pointed out, the SubjectDN is empty and it makes sense to default to using the name provided; this has been fixed with #112.
Also, validation is used for network and installation validation. If you are looking to validate the creation of a certificate, use Get-VenafiCertificate and look at ProcessingDetails.
Hello.
We want to use PowerShell to automate certificate provisioning via Venafi API during machine rebuild process (re-imaging). I run
New-TPPCertificate
with parametersPath
andName
.Command completes properly without error nor warning. I receive GUID and CertificateDN.
I can find the certificate using
Find-TPPCertificate
I can successfully validate the certificate using
Invoke-VenafiCertificateAction -Validate
However I cannot obtain that cert using
Get-TPPCertificate
as I'm getting error that SubjectDN is empty.Exact error:
"500 : {"Stage" : 0, "Status" : "Request DN is empty. Please configure the certificate properly"}
How is that a command that creates a certificate completes successfully but creates a bad cert?
How is that a command that validates a certificate claims that a bad cert is actually valid?
Environment:
Test lab, no internet access, only on-prem intranet.
Steps to reproduce
Expected behavior
I should get the cert
Actual behavior
"500 : {"Stage" : 0, "Status" : "Request DN is empty. Please configure the certificate properly"}
Screenshots
The text was updated successfully, but these errors were encountered: