Skip to content

Commit bde73a0

Browse files
committed
Specify ProviderName in the request
Default to Microsoft Enhanced Cryptographic Provider v1.0 to prevent prompts for smart cards from the Microsoft Base Smart Card Crypto Provider. Signed-off-by: David Allsopp <[email protected]>
1 parent 2b19775 commit bde73a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Request-Certificate.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ KeyLength = 2048
204204
KeySpec=1
205205
Exportable = TRUE
206206
RequestType = PKCS10
207+
ProviderName = "Microsoft Enhanced Cryptographic Provider v1.0"
207208
[RequestAttributes]
208209
CertificateTemplate = "$TemplateName"
209210
"@

0 commit comments

Comments
 (0)