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

JohnK john.kolle at gmail.com
Mon Oct 22 10:51:20 UTC 2012


Hi
Med venlig hilsen
John Kølle
Hi Nicklas

I've also tried that, but i didn't help. I made a work around in stead. But
thanks for the reply.

John

2012/10/22 Nicklas Overgaard [via Mono] <
ml-node+s1490590n4657041h23 at n4.nabble.com>

> 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 <[hidden email]<http://user/SendEmail.jtp?type=node&node=4657041&i=0>
> > wrote:
>
>> ---------- Forwarded message ----------
>> From: John Kølle <[hidden email]<http://user/SendEmail.jtp?type=node&node=4657041&i=1>
>> >
>> Date: Mon, Oct 22, 2012 at 6:01 PM
>> Subject: Re: [Mono-list] HTTPS-connection from CLI running mono-service
>> To: Daniel Lo Nigro <[hidden email]<http://user/SendEmail.jtp?type=node&node=4657041&i=2>
>> >
>>
>>
>> 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 <[hidden email]<http://user/SendEmail.jtp?type=node&node=4657041&i=3>
>> >
>>
>>> Are any errors occurring? Are you logging errors?
>>>
>>>
>>> On Fri, Oct 19, 2012 at 11:37 PM, JohnK <[hidden email]<http://user/SendEmail.jtp?type=node&node=4657041&i=4>
>>> > 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  -  [hidden email]<http://user/SendEmail.jtp?type=node&node=4657041&i=5>
>>>> http://lists.ximian.com/mailman/listinfo/mono-list
>>>>
>>>
>>>
>>
>>
>> _______________________________________________
>> Mono-list maillist  -  [hidden email]<http://user/SendEmail.jtp?type=node&node=4657041&i=6>
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>
>
> _______________________________________________
> Mono-list maillist  -  [hidden email]<http://user/SendEmail.jtp?type=node&node=4657041&i=7>
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://mono.1490590.n4.nabble.com/HTTPS-connection-from-CLI-running-mono-service-tp4657014p4657041.html
>  To unsubscribe from HTTPS-connection from CLI running mono-service, click
> here<http://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4657014&code=am9obi5rb2xsZUBnbWFpbC5jb218NDY1NzAxNHwtMTc0MzcxNzY4Mw==>
> .
> NAML<http://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://mono.1490590.n4.nabble.com/HTTPS-connection-from-CLI-running-mono-service-tp4657014p4657044.html
Sent from the Mono - General mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20121022/e64071f7/attachment.html>


More information about the Mono-list mailing list