I'm using Xamarin for creating Monodroid app. My communication with backend is going over https protocol. That leads to "System.Security.Cryptography.CryptographicException: Store Root doesn't exists" error in debug mode which is quate annoying. If I hit "Continue" everything goes well.
I have two questions here: 1. why this error occurs. My backend has valid certificate and https connection could be established from other clients without any issues. 2. How can I ignore this error (actually warning I think) if there is no way to fix that?
Thank you for any suggestion!
Step 1: Go to folder (C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA). Step 2: Open properties for MachineKeys Folder and go to Security Tab.
The exception that is thrown when an error occurs during a cryptographic operation.
From what I've observed, you will only see this exception if you have "break on all errors" turned on in Visual Studio / Xamarin Studio. The exception is thrown and caught by the mono https infrastructure.
There is a discussion in Xamarin Developer Center with the last post on 16 July 2013 and no rersponse how to fix it.
And the second one also in Xamarin Developer Center. This time TS wrote:
But when it happens (twice ever so far) it happened for multiple calls in a row over a minute or two of debugging - but didn't happen when we restarted the app. So it felt more like something was wrong within the app rather than on server side...
There is also a registered bug in Xamarin Bugzilla with SSL Exception when connection google-based API Title and its not affects iOS.
To summarise:
as for today there is no solution for it, but you can observe the links shown and maybe also post your information under Xamarin Developer Center or Bugzilla.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With