web2py AlterEgo
rock solid framework for agile and secure web applications
home
search
Edit page
Title:
Security Code:
Body:
(use
this
wiki markup)
You can start web2py with ` python web2py.py -c server.crt -l server.key ` then it will serve pages via https. But how do you get the server.crt and server.key files? You need to have OpenSSL (or equivalent software) installed. Then you do the following: 1. generate your private key: ` openssl genrsa -out server.key 2048 ` 2. create a certificate ` openssl req -new -key server.key -out server.csr ` the software will ask you a few questions during the key generation, just answer them 3. Now you need to get your certificated "signed". You can either pay some certification authority to do this, or you can self-sign your key: ` openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt ` This will make your key valid for 365 days - change the value after "-days" if you need. Enjoy!
Resources
Home
Version 1.51 (2008-11-19 14:48:02)
Examples
|
API
|
ORM
Compare
|
Django
|
TG
|
Rails
|
PHP
|
Java
Tutorial
|
Book
|
epydocs
Screencast short
|
long
|
shell
|
GAE
Online Demo
Interactive FAQ (AlterEgo)
Repository of free web2py apps
KPAX (the web2py CMS)
Model Builder
|
Layout Builder
Central Authentication Service
Users Group (free to join)
Development Trunk (svn)
Contact
Massimo Di Pierro
School of Computing
DePaul University
243 S. Wabash Ave
Chicago, IL 60604 (USA)
mdipierro@cs.depaul.edu