Re: Problems reading a file

Jeroen Frijters <[email protected]>
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <[email protected]>
Hi,

It looks like Mono doesn't support enumerating the trusted root certificates.

Regards,
Jeroen

> -----Original Message-----
> From: Juan Luis Gutierrez B [mailto:[email protected]]
> Sent: Saturday, March 29, 2014 16:51
> To: [email protected]
> Subject: [Ikvm-developers] Problems reading a file
> 
> Hi
> I'm working with the the .net port of jena.
> 
> The java version works fine, but in .net version i get this error when i
> try to read a file.
> 
> 
> Unhandled Exception:
> System.Security.Cryptography.CryptographicException: Store Root doesn't
> exists.
>    at System.Security.Cryptography.X509Certificates.X509Store.Open
> (OpenFlags flags) [0x00000] in <filename unknown>:0
>    at IKVM.Internal.VirtualFileSystem+VfsCacertsEntry.Populate ()
> [0x00000] in <filename unknown>:0
>    at IKVM.Internal.VirtualFileSystem+VfsCacertsEntry.Open () [0x00000]
> in <filename unknown>:0
>    at IKVM.Internal.VirtualFileSystem.Open (System.String name, FileMode
> fileMode, FileAccess fileAccess) [0x00000] in <filename unknown>:0
>    at IKVM.NativeCode.java.io.FileDescriptor.open (System.String name,
> FileMode fileMode, FileAccess fileAccess) [0x00000] in <filename
> unknown>:0
>    at java.io.FileDescriptor.open (System.String , FileMode , FileAccess
> ) [0x00000] in <filename unknown>:0
>    at java.io.FileDescriptor.open (System.String , Int32 , Int32 )
> [0x00000] in <filename unknown>:0
>    at java.io.FileDescriptor.openReadOnly (System.String ) [0x00000] in
> <filename unknown>:0
>    at java.io.FileInputStream.open (System.String ) [0x00000] in
> <filename unknown>:0
>    at java.io.FileInputStream..ctor (java.io.File file) [0x00000] in
> <filename unknown>:0
>    at org.apache.http.conn.ssl.SSLSocketFactory.createSystemSSLContext
> (System.String , java.security.SecureRandom ) [0x00000] in <filename
> unknown>:0
>    at org.apache.http.conn.ssl.SSLSocketFactory.createSystemSSLContext
> () [0x00000] in <filename unknown>:0
> [ERROR] FATAL UNHANDLED EXCEPTION:
> System.Security.Cryptography.CryptographicException: Store Root doesn't
> exists.
>    at System.Security.Cryptography.X509Certificates.X509Store.Open
> (OpenFlags flags) [0x00000] in <filename unknown>:0
>    at IKVM.Internal.VirtualFileSystem+VfsCacertsEntry.Populate ()
> [0x00000] in <filename unknown>:0
>    at IKVM.Internal.VirtualFileSystem+VfsCacertsEntry.Open () [0x00000]
> in <filename unknown>:0
>    at IKVM.Internal.VirtualFileSystem.Open (System.String name, FileMode
> fileMode, FileAccess fileAccess) [0x00000] in <filename unknown>:0
>    at IKVM.NativeCode.java.io.FileDescriptor.open (System.String name,
> FileMode fileMode, FileAccess fileAccess) [0x00000] in <filename
> unknown>:0
>    at java.io.FileDescriptor.open (System.String , FileMode , FileAccess
> ) [0x00000] in <filename unknown>:0
>    at java.io.FileDescriptor.open (System.String , Int32 , Int32 )
> [0x00000] in <filename unknown>:0
>    at java.io.FileDescriptor.openReadOnly (System.String ) [0x00000] in
> <filename unknown>:0
>    at java.io.FileInputStream.open (System.String ) [0x00000] in
> <filename unknown>:0
>    at java.io.FileInputStream..ctor (java.io.File file) [0x00000] in
> <filename unknown>:0
>    at org.apache.http.conn.ssl.SSLSocketFactory.createSystemSSLContext
> (System.String , java.security.SecureRandom ) [0x00000] in <filename
> unknown>:0
>    at org.apache.http.conn.ssl.SSLSocketFactory.createSystemSSLContext
> () [0x00000] in <filename unknown>:0
> 
> --
> Ing. Juan Luis Gutiérrez Blanco
> 
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.21
> GCS d- s:+ !a C++>++++ UL>++++ P+ L++>++++ !E? W+++ N++ o? K w$ !O? !M?
> V? PS+++ !PE Y+
> PGP>+++ t+ 5+ X->-- R+>+++ tv+@ DI+ D++ G e++ h-- r@ y+
> ------END GEEK CODE BLOCK------
> 
> ------------------------------------------------------------------------
> ------
> _______________________________________________
> Ikvm-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ikvm-developers

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.