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
{{ message }}
This repository has been archived by the owner on Dec 17, 2019. It is now read-only.
That said to answer your question: if you know the thumbprint or subject of your certificate, you can get it with PowerShell.
Instead of running New-SelfSignedCertificate, you can use Get-ChildItem -Path Cert:\*path to the certificate*
For instance, assuming that the certificate is the current user's personal store, and the thumbprint is 0380BBAF358659AC0EF1BA472606CBD816BBC30E, you'll get the certificate by running in PowerShell $cert = Get-ChildItem -Path Cert:\CurrentUser\My\0380BBAF358659AC0EF1BA472606CBD816BBC30E
then the rest of the instructions to compute the KeyCredential is the same.
Hello. I'd like to utilize this sample with an existing cert my local cert store. How can I export it to the format expected by the sample:
I have the public and private key for the cert in question. How can I use what I have in my local certificate store to generate the above?
The text was updated successfully, but these errors were encountered: