[Mono-list] Fwd: HTTPS-connection from CLI running mono-service
nicklas at isharp.dk
Mon Oct 22 08:38:38 UTC 2012
We have services running via mono-service on production servers, and all we
did was follow this mono page:
I think what did the trick for us, was running with the --machine option -
do this as root though.
Founder & Lead Developer
iSharp Solutions ApS
On Mon, Oct 22, 2012 at 10:21 AM, Daniel Lo Nigro <lists at dan.cx> wrote:
> ---------- 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
> 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?
>>> MonoDevelop 188.8.131.52
>>> Runtime: Mono 184.108.40.206 (Debian 220.127.116.11-1ubuntu2.2) (64-bit)
>>> .Net: 4.0
>>> With kind regards
>>> View this message in context:
>>> Sent from the Mono - General mailing list archive at Nabble.com.
>>> Mono-list maillist - Mono-list at lists.ximian.com
> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list