System.Security.Cryptography.CryptographicException: Store root doesn't exist on iOS 11 Beta 4.

KoenHendriks.1281KoenHendriks.1281 USUniversity

Hi fellow Dev's,

On iOS 11 Beta 4 I get a System.Security.Cryptography.CryptographicException: Store root doesn't exist
When I try to build a certificate chain using the following command.

newChain.Build (new X509Certificate2 (cert));

The root certifcate should be there, since I add it using:
newChain.ChainPolicy.ExtraStore.Add (root);

on the line before.

Does anyone know a solution to this error?

Btw, I'm using

  • Xamarin.iOS 10.99.0.93
  • Xamarin.Mac 3.99.0.93
  • Visual Studio for Mac 7.1.0.1267
  • Mono 5.2.0.209

Thanks!

Koen

Sign In or Register to comment.