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
New Oauth session gets produced with certificate authentication using x509Certificate2 class certificate objects, i.e. a cert that comes from the user store .
New-VenafiSession : Parameter set cannot be resolved using the specified named parameters.
At C:\Users\tppadmin1\Documents\scripts\VenafiPSExample.ps1:38 char:1
+ New-VenafiSession -Server $vtp_host -Certificate $CurrentUserCert -Pa ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [New-VenafiSession], ParameterBindingException
+ FullyQualifiedErrorId : AmbiguousParameterSet,New-VenafiSession
Screenshots
The text was updated successfully, but these errors were encountered:
gdbarron
changed the title
new-Venafisession doesnt work with x509Certificate2 class certificate objects
Fix token based session creation via certificate
Sep 17, 2021
Environment
Steps to reproduce
Expected behavior
New Oauth session gets produced with certificate authentication using x509Certificate2 class certificate objects, i.e. a cert that comes from the user store .
Actual behavior
Script produces this error
Screenshots
The text was updated successfully, but these errors were encountered: