Notebook
$ ipython profile create nbserver
$ openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout mycert.pem -out mycert.pem
$ ipython Python 2.7.3 | 64-bit | (default, Mar 25 2013, 15:52:02) Type "copyright", "credits" or "license" for more information. IPython 1.0.dev -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details.
$ ipython notebook --profile=nbserver