Ah, yes, that's exactly what I was looking for. The docs don't make that very
clear. I'm assuming it's just passing {ssl: true} to the options object? Or is
there no extra work required?
----- Original Message -----
From: "Paul Theriault" <[email protected]>
To: "Fabrice Desre" <[email protected]>
Cc: [email protected]
Sent: Tuesday, July 2, 2013 3:05:46 PM
Subject: Re: Connection over SSL using mozTCPSocket?
If you just want a secure connection, mozTCPSocket supports that , so long as
you start with a secure connection. See
https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket
However we don't support upgrading cleartext connections to secure connections
via STARTTLS, which is the bug which fabrice points to below.
Just wanted to clarify, since I wasn't sure of your use case.
On Jul 3, 2013, at 6:50 AM, Fabrice Desre wrote:
> On 07/02/2013 01:46 PM, Matt Basta wrote:
>> Is it possible to get FXOS to do the TLS crypto and hand over a secure
>> connection or is this not possible? If not, where is the appropriate place
>> to file a bug to add this functionality? I'd quite like to not write my own
>> crypto code (or hack together existing libraries) to establish a secure
>> connection to a remote server.
>
> It's not yet possible but it's a planned enhancement. See
> https://bugzilla.mozilla.org/show_bug.cgi?id=784816
>
> Fabrice
> --
> Fabrice Desré
> b2g team
> Mozilla Corporation
> _______________________________________________
> dev-webapps mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-webapps
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps