I have installed a cert in my personal cert store and it's parent root cert in Trusted Root certs. I can view the certs using the MMC-Certificates snap-in under Certificates - Current User. The following code worked fine until today. I can no longer retrieve a list of certs from storename.my. Does anyone have any ideas why this would stop retrieving certs?
certStore = New X509Store(StoreName.My)
certStore.Open(OpenFlags.OpenExistingOnly + OpenFlags.ReadOnly)
clientCert = certStore.Certificates
For i As Integer = 0 To clientCert.Count - 1
Dim issuer As String = clientCert(i).Issuer
If issuer.Contains(sCertItem) Then
xCert = clientCert(i)
Exit For
End If
Next
...
Go to the complete details ...