I am working on setting up a public Sage server. I downloaded the 64 bit Sage package for Fedora, then to enable secure mode, I did:
./sage -i openssl
./sage -f python
SAGE_UPGRADING=yes make ssl
but when trying to start the public notebook....
[sage@PD-2 sage-5.6-linux-64bit-fedora_release_16_verne_-x86_64-Linux]$ ./sage
----------------------------------------------------------------------
| Sage Version 5.6, Release Date: 2013-01-21 |
| Type "notebook()" for the browser-based notebook interface. |
| Type "help()" for help. |
----------------------------------------------------------------------
sage: notebook(automatic_login=False,interface='',secure=True)
The notebook files are stored in: sage_notebook.sagenb
In order to use an SECURE encrypted notebook, you must first run notebook.setup().
Now running notebook.setup()
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
/home/sage/.sage/<ipython console=""> in <module>()
/home/sage/sage-5.6-linux-64bit-fedora_release_16_verne_-x86_64-Linux/devel/sagenb/sagenb/notebook/notebook_object.pyc in __call__(self, *args, **kwds)
221 """
222 def __call__(self, *args, **kwds):
--> 223 return self.notebook(*args, **kwds)
224
225 notebook = run_notebook.notebook_run
/home/sage/sage-5.6-linux-64bit-fedora_release_16_verne_-x86_64-Linux/devel/sagenb/sagenb/notebook/run_notebook.pyc in notebook_run(self, directory, port, interface, port_tries, secure, reset, accounts, openid, server_pool, ulimit, timeout, upload, automatic_login, start_path, fork, quiet, server, profile, subnets, require_login, open_viewer, address)
600 print "In order to use an SECURE encrypted notebook, you must first run notebook.setup()."
601 print "Now running notebook.setup()"
--> 602 notebook_setup()
603 if (not os.path.exists(private_pem) or
604 not os.path.exists(public_pem)):
/home/sage/sage-5.6-linux-64bit-fedora_release_16_verne_-x86_64-Linux/devel/sagenb/sagenb/notebook/run_notebook.pyc in notebook_setup(self)
368
369 if not cmd_exists('certtool'):
--> 370 raise RuntimeError("You must install certtool to use the secure notebook server.")
371
372 dn = raw_input("Domain name [localhost]: ").strip()
RuntimeError: You must install certtool to use the secure notebook server.