[Mono-list] Fwd: HTTPS-connection from CLI running mono-service

Daniel Lo Nigro lists at dan.cx
Mon Oct 22 08:21:12 UTC 2012


---------- Forwarded message ----------
From: John Kølle <john.kolle at gmail.com>
Date: Mon, Oct 22, 2012 at 6:01 PM
Subject: Re: [Mono-list] HTTPS-connection from CLI running mono-service
To: Daniel Lo Nigro <lists at dan.cx>


Hi Daniel

There is nothing but the usual .net exception:"Error getting response
stream (Write: The authentication or decryption has failed.): SendFailure".
While running this program, as a program (mono 'application-name.exe') I
could help this problem by downloading the right certificate using
certmgr.exe. But I assume mono-service and mono, does not share the same
certificate store, why the downloaded certificate does not help this
problem.

So it's pretty straight at ... how do I download certificates for running a
service via mono-service?

John Kølle



2012/10/20 Daniel Lo Nigro <lists at dan.cx>

> Are any errors occurring? Are you logging errors?
>
>
> On Fri, Oct 19, 2012 at 11:37 PM, JohnK <john.kolle at gmail.com> wrote:
>
>> Hello everybody
>>
>> I'm new here, but this looks like the right place to ask for help.
>>
>> I have made an application which is running from Mono and uses CLI and
>> establishes a HTTPS-connection.
>>
>> I'm planing to implement this as a service on a Ubuntu machine and the
>> service is set op through a bash script and running nicely through
>> "mono-service /myApplication/.exe"
>>
>> But trying to establish the HTTPS connection through mono-service fails.
>>
>> I have installed the certificate in Mono, but this doesn't seem to affect
>> the mono-service.
>>
>>
>> How can i add the certificate to a mono-service trust - if something like
>> that exists?
>>
>> Versions:
>> MonoDevelop 2.8.6.3
>> Runtime:        Mono 2.10.8.1 (Debian 2.10.8.1-1ubuntu2.2) (64-bit)
>> .Net: 4.0
>>
>> With kind regards
>> John
>>
>>
>>
>> --
>> View this message in context:
>> http://mono.1490590.n4.nabble.com/HTTPS-connection-from-CLI-running-mono-service-tp4657014.html
>> Sent from the Mono - General mailing list archive at Nabble.com.
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20121022/77da7285/attachment.html>


More information about the Mono-list mailing list