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

Nicklas Overgaard nicklas at isharp.dk
Mon Oct 22 08:38:38 UTC 2012


Hi,

We have services running via mono-service on production servers, and all we
did was follow this mono page:
http://www.mono-project.com/FAQ:_Security#Does_SSL_works_for_SMTP.2C_like_GMail_.3F

I think what did the trick for us, was running with the --machine option -
do this as root though.

Best regards
---
Nicklas Overgaard

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
> 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
>>>
>>
>>
>
>
> _______________________________________________
> 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/4cc43417/attachment-0001.html>


More information about the Mono-list mailing list