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
Operating System: windows 10
VenafiPS version: 4.5
PowerShell version: 5.1
TPP version (if applicable):
Steps to reproduce
$csr = "-----BEGIN NEW CERTIFICATE REQUEST-----MIID/zCCAucCAQAwgYoxCzAJBgNVBAYTAlVTMRYwFAYDVQQIDA1NYXNzYWNodXNldHRzMQ8wDQYDVQQHDAZCb3N0b24xFDASBgNVBAoMC0NvbnRvc28gSW5jMR4wHAYDVQQLDBVDb250b3NvIEVhc3QgRGl2aXNpb24xHDAaBgNVBAMME25ld2NlcnQuY29udG9zby5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDGU8NfoVLcNKqxKPjp52MRsaX/Wy/CI3iDhdnF+zvIH2f6Ioczd09BGILnfE7LcoHGcHhwBBhJgT5BBmuAet05r1HBtjWGULfL/JcxXWRpwmwAXxxu2EowMlRJqGjPrK8U4KxrMqYtRX4ZB+2IvnSkdBjvQlTobjk1hO6Amftt0Ir7y5z+KM+Sc2EbU8YsFFM/qR9esRvD6LHo0rRh5yQLNRnPAXW3om5lhM4dSugtjjrdfox/fD5cwNKTDTKDLtymbwVBju0z6Q+R8aKM9do8bgrE3/7b4pNSl5ZBHFO0ObiNSiea4Q6RxPjv0hmgiY6q3UJ3RD/2GuAxhkZOTvNAgMBAAGgggEtMBwGCisGAQQBgjcNAgMxDhYMMTAuMC4xOTA0Mi4yMEQGCSsGAQQBgjcVFDE3MDUCAQkMF0xURjRFRTA4QTNGNzdFLm5mY3UubmV0DApORkNVXGMxODUzDAtjZXJ0cmVxLmV4ZTBTBgkqhkiG9w0BCQ4xRjBEMA4GA1UdDwEB/wQEAwIFoDATBgNVHSUEDDAKBggrBgEFBQcDATAdBgNVHQ4EFgQUiYV+fWBe4YIw2rI2zHlm30PmNmkwcgYKKwYBBAGCNw0CAjFkMGICAQEeWgBNAGkAYwByAG8AcwBvAGYAdAAgAFIAUwBBACAAUwBDAGgAYQBuAG4AZQBsACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcgMBADANBgkqhkiG9w0BAQUFAAOCAQEAI43qW4xqp4epxr/fayRD8aBgm61Bc1Pd58QoJyI1KbyjWiJ0pWtII7T35JfcSBkq2ALOFAWB29S8y0A6E3LQQMk/kQbmwJmCQYl/KGegL5+EaAxzR2p9EYj01uUweWEsqvPzPnakJBDO/C3XIpfNggHsMYLq/udx2boPIdDFIiw528QKIJxk4NUyRVzWIXE5Um1DED9dlSJtope8JxjIcQNuRoIJ7iXiOsP5cBxFTxr1Fo5man4MFuOkmFbHDdIlsn+95N22g8tDl7mXtT5OI7vw64R249qH1dMvhtvpl962n9TWpwBCkmuPAzRV3gWY0SlWFobgtTailePAgahd/A==-----END NEW CERTIFICATE REQUEST-----"
new-tppcertificate -csr "$($csr)"
Expected behavior
create a certificate with user provided csr
Actual behavior
Cannot find an overload for "Add" and the argument count: "3".
At C:\scripts\PKI-Team-Scripts\powershellmodules\VenafiPS\Public\New-TppCertificate.ps1:287 char:13
Environment
Steps to reproduce
$csr = "-----BEGIN NEW CERTIFICATE REQUEST-----MIID/zCCAucCAQAwgYoxCzAJBgNVBAYTAlVTMRYwFAYDVQQIDA1NYXNzYWNodXNldHRzMQ8wDQYDVQQHDAZCb3N0b24xFDASBgNVBAoMC0NvbnRvc28gSW5jMR4wHAYDVQQLDBVDb250b3NvIEVhc3QgRGl2aXNpb24xHDAaBgNVBAMME25ld2NlcnQuY29udG9zby5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDGU8NfoVLcNKqxKPjp52MRsaX/Wy/CI3iDhdnF+zvIH2f6Ioczd09BGILnfE7LcoHGcHhwBBhJgT5BBmuAet05r1HBtjWGULfL/JcxXWRpwmwAXxxu2EowMlRJqGjPrK8U4KxrMqYtRX4ZB+2IvnSkdBjvQlTobjk1hO6Amftt0Ir7y5z+KM+Sc2EbU8YsFFM/qR9esRvD6LHo0rRh5yQLNRnPAXW3om5lhM4dSugtjjrdfox/fD5cwNKTDTKDLtymbwVBju0z6Q+R8aKM9do8bgrE3/7b4pNSl5ZBHFO0ObiNSiea4Q6RxPjv0hmgiY6q3UJ3RD/2GuAxhkZOTvNAgMBAAGgggEtMBwGCisGAQQBgjcNAgMxDhYMMTAuMC4xOTA0Mi4yMEQGCSsGAQQBgjcVFDE3MDUCAQkMF0xURjRFRTA4QTNGNzdFLm5mY3UubmV0DApORkNVXGMxODUzDAtjZXJ0cmVxLmV4ZTBTBgkqhkiG9w0BCQ4xRjBEMA4GA1UdDwEB/wQEAwIFoDATBgNVHSUEDDAKBggrBgEFBQcDATAdBgNVHQ4EFgQUiYV+fWBe4YIw2rI2zHlm30PmNmkwcgYKKwYBBAGCNw0CAjFkMGICAQEeWgBNAGkAYwByAG8AcwBvAGYAdAAgAFIAUwBBACAAUwBDAGgAYQBuAG4AZQBsACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcgMBADANBgkqhkiG9w0BAQUFAAOCAQEAI43qW4xqp4epxr/fayRD8aBgm61Bc1Pd58QoJyI1KbyjWiJ0pWtII7T35JfcSBkq2ALOFAWB29S8y0A6E3LQQMk/kQbmwJmCQYl/KGegL5+EaAxzR2p9EYj01uUweWEsqvPzPnakJBDO/C3XIpfNggHsMYLq/udx2boPIdDFIiw528QKIJxk4NUyRVzWIXE5Um1DED9dlSJtope8JxjIcQNuRoIJ7iXiOsP5cBxFTxr1Fo5man4MFuOkmFbHDdIlsn+95N22g8tDl7mXtT5OI7vw64R249qH1dMvhtvpl962n9TWpwBCkmuPAzRV3gWY0SlWFobgtTailePAgahd/A==-----END NEW CERTIFICATE REQUEST-----"
new-tppcertificate -csr "$($csr)"
Expected behavior
create a certificate with user provided csr
Actual behavior
Cannot find an overload for "Add" and the argument count: "3".
At C:\scripts\PKI-Team-Scripts\powershellmodules\VenafiPS\Public\New-TppCertificate.ps1:287 char:13
Screenshots
The text was updated successfully, but these errors were encountered: