[Mono-list] Linux Cert Store

Ken Bass kbass at kenbass.com
Sat Jan 14 22:17:31 UTC 2012


1) I've got a program (server) that creates a certificate adds it to the 
X509Store().

I notice that a file shows up in /home/user/.config/.mono/certs/MY

However when I use the certmgr tool to try to list it, the tools 
requires the word 'My' (lower case y). It even creates a 'My' directory.

2) When the program runs it first does a lookup based on the subject 
name. If the key exists, it is used, rather than having to regenerate 
one every time the program runs.

On Windows HasPrivateKey returns True

On Linux it returns False.

I am thinking this is why when I'm trying to use this key as the server 
side on an SSL, under Linux, I get a

Unknown exception: System.IO.IOException: The authentication or 
decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: 
Incorrect protocol version received from server

followed by a

Unknown exception: System.IO.IOException: The authentication or 
decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: 
Server certificate Private Key unavailable.



More information about the Mono-list mailing list