Answered by:
Problem with Digital Certificate in only ONE Windows machine

Question
-
Hi!
I hadn't see a better forum to ask it, so, I'm sorry in advance...
I have a VB.NET 4.7 application functioning 100% in dozens of Windows (8.1 and 10), accessing digital certificates on Stores to encrypt and decrypt data without any problem.
But, in only ONE Dell notebook, I can install the Certificate normally (via MMC), it is found when I need to encrypt data, it is shwon in Store without any warning, I can see its properties normally BUT when I try to decrypt (access its Private Key) Windows denies without any comprehensive message. I have only "Certificate not Found of Password Mismatch".
Obviously, I'm using a PFX certificate and it is similar to all other ones functioning normally in other machines.If I set a "Higher Security" on the Certificate with a custom password, I see that Windows does not ask me this certificate password to allow access to its private key.
If I install the certificate without any password (lowest security), Windows denies access to its private key directly, again, without any message.
This Windows 10 (release 20H2) is almost plain, no other software installed - only an Office 365 installed by the company where it resides. Yesterday I reformated the disk and returned the "manufacturer Windows" and did all updates again. No success at all.
Do you know what can be happening there?
I appreciate any help on there- Moved by Xingyu ZhaoMicrosoft contingent staff Wednesday, November 18, 2020 2:45 AM
Tuesday, November 17, 2020 12:06 AM
Answers
-
Then you can also try them over here.
https://docs.microsoft.com/en-us/answers/topics/windows-10-general.html
https://docs.microsoft.com/en-us/answers/topics/windows-group-policy.html
https://docs.microsoft.com/en-us/answers/topics/winapi-general.html
https://docs.microsoft.com/en-us/answers/topics/windows-server-security.html
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.
- Edited by Dave PatrickMVP Wednesday, November 18, 2020 11:37 PM
- Marked as answer by Guido Franzke Thursday, November 26, 2020 9:12 AM
Wednesday, November 18, 2020 11:34 PM
All replies
-
Hi David BenS,
Thank you for posting here.
Since your application works well in many computers, the problem probably not caused by the code.
In order to help you find the correct forum to go ask questions, I have moved the thread to 'where is the forum for' forum.
Thank you for your understanding.
Best Regards,
Xingyu Zhao
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.Wednesday, November 18, 2020 2:44 AM -
I'd try asking for help over here.
https://docs.microsoft.com/en-us/answers/topics/dotnet-visual-basic.html
https://docs.microsoft.com/en-us/answers/topics/vs-general.html
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.
- Proposed as answer by Guido Franzke Wednesday, November 18, 2020 6:44 AM
- Edited by Dave PatrickMVP Wednesday, November 18, 2020 11:31 PM
Wednesday, November 18, 2020 3:21 AM -
Thank you ZhaoWednesday, November 18, 2020 11:29 PM
-
Thanks Dave but I don't see this problem as a VS one.
I guess the problem may be related to some Windows service (or Group Policy) blocking the access to the Certificate PVT-Key.
Wednesday, November 18, 2020 11:31 PM -
Then you can also try them over here.
https://docs.microsoft.com/en-us/answers/topics/windows-10-general.html
https://docs.microsoft.com/en-us/answers/topics/windows-group-policy.html
https://docs.microsoft.com/en-us/answers/topics/winapi-general.html
https://docs.microsoft.com/en-us/answers/topics/windows-server-security.html
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.
- Edited by Dave PatrickMVP Wednesday, November 18, 2020 11:37 PM
- Marked as answer by Guido Franzke Thursday, November 26, 2020 9:12 AM
Wednesday, November 18, 2020 11:34 PM