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

New-vdccapiapplication thows error if name of certificate being attached contains asterisk. #248

Closed
PFTKev opened this issue Jan 19, 2024 · 0 comments · Fixed by #249
Closed
Labels
bug Something isn't working

Comments

@PFTKev
Copy link

PFTKev commented Jan 19, 2024

Environment

Full Operating System: Windows 11
VenafiPS version: 6.1.2
PowerShell version: 5.1.22621.2506
TLSPDC version (if applicable):

Steps to reproduce

Venafi allows you to name certificates with the common name of a certificate. Often, wildcard certifiacates are saved as something similar to "*.something.com". If you process the code below with any certificate with an asterisk in the name, it will error out.

New-VdcCapiApplication -Path $($DevPath) -CertificatePath $($cert.Path) -CredentialPath $CredentialPath -WebSiteName 'Default Web Site' -BindingIp $Ip -ApplicationName $ApplicationName -PushCertificate -passthru`

Expected behavior

Expected behavior is for the application to be created on the device specified attached to the specified wildcard certificate.

Actual behavior

When running the above code with a certificate with an Asterisk in the name, it fails with the error below.

`

Screenshots

image

gdbarron pushed a commit that referenced this issue Jan 19, 2024
@gdbarron gdbarron added the bug Something isn't working label Jan 19, 2024
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

Successfully merging a pull request may close this issue.

2 participants