Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion SSL for Tornado

Received: by 10.224.213.1 with SMTP id gu1mr1089521qab.7.1347832711341;
        Sun, 16 Sep 2012 14:58:31 -0700 (PDT)
X-BeenThere: python-tornado@googlegroups.com
Received: by 10.224.217.65 with SMTP id hl1ls10896394qab.8.gmail; Sun, 16 Sep
 2012 14:58:29 -0700 (PDT)
Received: by 10.224.213.1 with SMTP id gu1mr1089483qab.7.1347832709216;
        Sun, 16 Sep 2012 14:58:29 -0700 (PDT)
Received: by 10.224.213.1 with SMTP id gu1mr1089482qab.7.1347832709192;
        Sun, 16 Sep 2012 14:58:29 -0700 (PDT)
Return-Path: <fr...@61924.nl>
Received: from mail-qa0-f50.google.com (mail-qa0-f50.google.com [209.85.216.50])
        by gmr-mx.google.com with ESMTPS id mx3si2023760qcb.3.2012.09.16.14.58.28
        (version=TLSv1/SSLv3 cipher=OTHER);
        Sun, 16 Sep 2012 14:58:28 -0700 (PDT)
Received-SPF: neutral (google.com: 209.85.216.50 is neither permitted nor denied by best guess record for domain of fr...@61924.nl) client-ip=209.85.216.50;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.216.50 is neither permitted nor denied by best guess record for domain of fr...@61924.nl) smtp.mail=fr...@61924.nl
Received: by qatp27 with SMTP id p27so1717127qat.16
        for <python-tornado@googlegroups.com>; Sun, 16 Sep 2012 14:58:28 -0700 (PDT)
        d=google.com; s=20120113;
        h=mime-version:x-originating-ip:in-reply-to:references:date
         :message-id:subject:from:to:content-type:x-gm-message-state;
        bh=dgOsnfH8rOfcU8mf+gcr2IHOH60Ipc6FJILwv8867Vw=;
        b=GKJhGiRkcfy/u1jEYDWCgG8hKm455P0sN7ocETxKHKKhuSwCYtdvg/CztCewHFdgGf
         /r7w2YNql5osDmMZ1vVhEu4DU7/WCWBYZ83Hcnj962oqA5aAset+SUgGg23VeRYoR/9L
         MBi3ZzJeurhlCF6Y5ZQDqaP9rHidv7SwUGA2vnRa9Zr5evf/yU0MvVTnkSNtXDNFfSNt
         aCnJ1ZUkJB1G5gEbvnVVvierql5juJWGj8iirOh+vTuh0ZKmFHrD5uMNrnK5FvFR/Nu0
         pJ2V28Wtf2GtLUjg55uZf2ILmYesap0N0K5xQZmgjifuHPH+fkW+eKLwguoVNO2y5K1a
         G/RA==
MIME-Version: 1.0
Received: by 10.224.197.10 with SMTP id ei10mr23347604qab.49.1347832708575;
 Sun, 16 Sep 2012 14:58:28 -0700 (PDT)
Received: by 10.49.51.202 with HTTP; Sun, 16 Sep 2012 14:58:28 -0700 (PDT)
X-Originating-IP: [77.167.21.114]
In-Reply-To: <CAL6=CugaLEsf3z=vu2vZuzEOiiuu5CzMFEes9P2EqMSxkru...@mail.gmail.com>
References: <5d3bd576-42cc-4658-a761-63594c67e...@s9g2000vby.googlegroups.com>
	<63b5efe1-f976-42ec-a8d3-a7b8895ca...@v12g2000vbh.googlegroups.com>
	<AANLkTim9HRaC7u8g+bO4-kjMRWzoZ+WuqD21=UPfK...@mail.gmail.com>
	<53c9f2dd-f895-4a47-9703-da910268a...@v23g2000vbi.googlegroups.com>
	<689b7e2d-b177-4348-a810-54037cddbcaf@googlegroups.com>
	<CAFkYKJ7bVBpMAHS8BsYAsyAEFEg59yCZoNXU5BaGyCwfhNE...@mail.gmail.com>
	<b596da13-d9de-4d83-8a8b-ab003ba50...@h16g2000vby.googlegroups.com>
	<e33bcb70-b5a8-46f6-b0d4-016abc7f9...@c19g2000vbb.googlegroups.com>
	<CAFkYKJ4+G1q-jMexP6-K8nAuCvcDGjUro6MNoFZCyFuR3Uz...@mail.gmail.com>
	<CAL6=CujjfgGKpKg0ixeX+FAeaTHWkyrhCte2xaGdAg-jR0K...@mail.gmail.com>
	<CAFOsQfsZsta6_oi1gFnL_OjVEYM-0eh-sWbErmoDTjRP6b9...@mail.gmail.com>
	<CAL6=CugaLEsf3z=vu2vZuzEOiiuu5CzMFEes9P2EqMSxkru...@mail.gmail.com>
Date: Sun, 16 Sep 2012 23:58:28 +0200
Message-ID: <CAFOsQfvKw-Nk6zf7pbccFyc06K=jTz23EsRMiTxTo_DMaZE...@mail.gmail.com>
Subject: Re: [tornado] Re: SSL for Tornado
From: Frank Smit <fr...@61924.nl>
To: python-tornado@googlegroups.com
Content-Type: text/plain; charset=UTF-8
X-Gm-Message-State: ALoCoQl1PmIHwgFGHMzJdLrFDH/ze+gquW72YeLv9Teyor4RxkxU2UoxyAc+V47NDblXT0Qz0ft5

Nginx is a webserver.

http://en.wikipedia.org/wiki/Nginx

On Sun, Sep 16, 2012 at 10:54 PM, ischematics.com <i...@ischematics.com> wrote:
> What is nginx, is it built into tornado?
>
> ed
>
>
> On Sun, Sep 16, 2012 at 3:45 PM, Frank Smit <fr...@61924.nl> wrote:
>>
>> Only a root user can use ports below 1024.
>>
>> And Nginx is usually put in front of Tornado as a proxy. In this case
>> Nginx is on port 80 (or 443 for HTTPS) and proxies requests for
>> Tornado to port 8080 for example.
>>
>> On Sun, Sep 16, 2012 at 9:47 PM, ischematics.com <i...@ischematics.com>
>> wrote:
>> > Does anyone know if there are some standard ports that are generally
>> > open ..
>> > i have an application where it seems some people have issues at work,
>> > etc ..
>> > usually on port 8082, but 8080 is fine .. i would use 80 but i don't
>> > know
>> > how to release it on the mac, it is always in use by something ...
>> >
>> >
>> >
>> > On Sun, Sep 16, 2012 at 2:02 PM, Ben Darnell <b...@bendarnell.com> wrote:
>> >>
>> >> Yes.  You can develop on any port you like, but for deployment you
>> >> will (usually) want to use 80 for http and 443 for https.
>> >>
>> >> -Ben
>> >>
>> >> On Sun, Sep 16, 2012 at 4:41 AM, aliane abdelouahab
>> >> <alabdeloua...@gmail.com> wrote:
>> >> > 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.  For 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.
>> >> >>
>> >> >> > >>     if __name__ == "__main__":
>> >> >> > >>         application = tornado.web.Application([
>> >> >> > >>             (r"/", MainHandler),
>> >> >> > >>         ])
>> >> >> > >>         http_server = tornado.httpserver.HTTPServer(applicaton,
>> >> >> > >> ssl_options={
>> >> >> > >> "certfile": os.path.join(data_dir, "mydomain.crt"),
>> >> >> > >> "keyfile": os.path.join(data_dir, "mydomain.key"),
>> >> >>
>> >> >> > >> })
>> >> >> > >>         http_server.listen(8888)
>> >> >> > >>         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>
>> >> >> > >> > wrote:
>> >> >> > >> > > From:
>> >> >> > >> >
>> >> >> > >> > >
>> >> >> > >> > > > >https://github.com/facebook/tornado/blob/master/tornado/httpserver.py
>> >> >>
>> >> >> > >> > > HTTPServer can serve HTTPS (SSL) traffic with Python 2.6+
>> >> >> > >> > > and
>> >> >> > >> > > OpenSSL.
>> >> >> > >> > > To make this server serve SSL traffic, send the ssl_options
>> >> >> > >> > > dictionary
>> >> >> > >> > > argument with the arguments required for the
>> >> >> > >> > > ssl.wrap_socket()
>> >> >> > >> > > method,
>> >> >> > >> > > including "certfile" and "keyfile":
>> >> >>
>> >> >> > >> > > HTTPServer(applicaton, ssl_options={
>> >> >> > >> > > "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/
>> >>
>> >
>>
>