Message from discussion
SSL for Tornado
Received: by 10.52.90.109 with SMTP id bv13mr911628vdb.1.1347795709180;
Sun, 16 Sep 2012 04:41:49 -0700 (PDT)
X-BeenThere: python-tornado@googlegroups.com
Received: by 10.52.156.112 with SMTP id wd16ls581567vdb.6.gmail; Sun, 16 Sep
2012 04:41:47 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.65.74 with SMTP id v10mr362127vds.18.1347795707567; Sun, 16
Sep 2012 04:41:47 -0700 (PDT)
Authentication-Results: ls.google.com; spf=pass (google.com: domain of
alabdeloua...@gmail.com designates internal as permitted sender)
smtp.mail=alabdeloua...@gmail.com; dkim=pass
header...@gmail.com
Received: by c19g2000vbb.googlegroups.com with HTTP; Sun, 16 Sep 2012 04:41:47
-0700 (PDT)
Date: Sun, 16 Sep 2012 04:41:47 -0700 (PDT)
In-Reply-To: <b596da13-d9de-4d83-8a8b-ab003ba50b97@h16g2000vby.googlegroups.com>
References: <5d3bd576-42cc-4658-a761-63594c67e2e8@s9g2000vby.googlegroups.com>
<63b5efe1-f976-42ec-a8d3-a7b8895ca09d@v12g2000vbh.googlegroups.com>
<AANLkTim9HRaC7u8g+bO4-kjMRWzoZ+WuqD21=UPfKUV1@mail.gmail.com>
<53c9f2dd-f895-4a47-9703-da910268a6f2@v23g2000vbi.googlegroups.com>
<689b7e2d-b177-4348-a810-54037cddbcaf@googlegroups.com> <CAFkYKJ7bVBpMAHS8BsYAsyAEFEg59yCZoNXU5BaGyCwfhNE-mQ@mail.gmail.com>
<b596da13-d9de-4d83-8a8b-ab003ba50b97@h16g2000vby.googlegroups.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1
(KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1,gzip(gfe)
Message-ID: <e33bcb70-b5a8-46f6-b0d4-016abc7f981a@c19g2000vbb.googlegroups.com>
Subject: Re: SSL for Tornado
From: aliane abdelouahab <alabdeloua...@gmail.com>
To: Tornado Web Server <python-tornado@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
sorry, i mean Deployement
On 16 sep, 11:56, aliane abdelouahab <alabdeloua...@gmail.com> wrote:
> and for HTTPS, the developpement must be in port 443 and not 80?
>
> On 16 sep, 01:06, Ben Darnell <b...@bendarnell.com> wrote:
>
>
>
>
>
>
>
> > For testing purposes you can make a certificate using the openssl
> > command line tool, but these certificates will cause warnings in the
> > browser. =A0For actual use you'll need a certificate signed by a CA.
>
> > -Ben
>
> > On Sat, Sep 15, 2012 at 11:40 AM, ESP <i...@ischematics.com> wrote:
> > > does the certificate have to be one from a cert authority, or can we =
make
> > > one somehow with python?
>
> > > On Tuesday, November 23, 2010 9:34:21 AM UTC-6, JohnMudd wrote:
>
> > >> Here's more code.
>
> > >> =A0 =A0 if __name__ =3D=3D "__main__":
> > >> =A0 =A0 =A0 =A0 application =3D tornado.web.Application([
> > >> =A0 =A0 =A0 =A0 =A0 =A0 (r"/", MainHandler),
> > >> =A0 =A0 =A0 =A0 ])
> > >> =A0 =A0 =A0 =A0 http_server =3D tornado.httpserver.HTTPServer(applic=
aton,
> > >> ssl_options=3D{
> > >> "certfile": os.path.join(data_dir, "mydomain.crt"),
> > >> "keyfile": os.path.join(data_dir, "mydomain.key"),
>
> > >> })
> > >> =A0 =A0 =A0 =A0 http_server.listen(8888)
> > >> =A0 =A0 =A0 =A0 tornado.ioloop.IOLoop.instance().start()
>
> > >> On Nov 21, 5:32 pm, abdullah mohamed mohamed abdelrhim
> > >> <eng.abod...@gmail.com> wrote:
> > >> > please indicate where expactly i but this code
> > >> > thanks
>
> > >> > On Mon, Nov 15, 2010 at 8:34 PM, JohnMudd <johnbm...@gmail.com> wr=
ote:
> > >> > > From:
> > >> > >https://github.com/facebook/tornado/blob/master/tornado/httpserve=
r.py
>
> > >> > > HTTPServer can serve HTTPS (SSL) traffic with Python 2.6+ and Op=
enSSL.
> > >> > > To make this server serve SSL traffic, send the ssl_options dict=
ionary
> > >> > > argument with the arguments required for the ssl.wrap_socket() m=
ethod,
> > >> > > including "certfile" and "keyfile":
>
> > >> > > HTTPServer(applicaton, ssl_options=3D{
> > >> > > "certfile": os.path.join(data_dir, "mydomain.crt"),
> > >> > > "keyfile": os.path.join(data_dir, "mydomain.key"),
> > >> > > })
>
> > >> > > On Nov 12, 2:03 pm, "Fabio[mbutubuntu]Buda" <mbutubu...@yahoo.it=
>
> > >> > > wrote:
> > >> > > > hello folks! is there any way to use SSL with tornado without =
using
> > >> > > > a
> > >> > > > reverse Proxy?
>
> > >> > > > best regards,
>
> > >> > > > Fabio Buda
> > >> > > > Web Developer/Designer @ netdesignhttp://www.netd.it/