Last post Apr 21, 2021 02:47 AM by yij sun
Apr 20, 2021 04:31 PM|coreysan|LINK
I'm a novice at coding for certificates, but learning quickly.
I installed a certificate to the current user, and wrote C# code in Visual Studio 2019. Everything runs great.
However, when I run Visual Studio as the administrator, it suddenly can't find the certificate. I get
certificateCollection.Count = 0
The certificate is in Current User/Personal folder and in trusted Root Certification Authority.
Anyone know how to fix this scenario?
Apr 21, 2021 02:47 AM|yij sun|LINK
According to your description, as far as I think,if you create a separate role to access a store, you must grant that role access permission.You could move certificates around to set trust permissions on certificates .
More details,you could refer to below article: