Ask Your Question

Fedora cert tools

asked 2013-02-08 06:38:45 -0500

Caterpillar gravatar image

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)
    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)
    369     if not cmd_exists('certtool'):
--> 370         raise RuntimeError("You must install certtool to use the secure notebook server.")
    372     dn = raw_input("Domain name [localhost]: ").strip()

RuntimeError: You must install certtool to use the secure notebook server.
edit retag flag offensive close merge delete



Someone [here]( suggested installing gnutls-utils.

ppurka gravatar imageppurka ( 2013-02-08 08:41:33 -0500 )edit

put an official answer, so I can give you the mark. It worked!

Caterpillar gravatar imageCaterpillar ( 2013-02-08 08:56:46 -0500 )edit

I wasn't sure :) Ok I will put it in the answer, so that the question can be marked as resolved.

ppurka gravatar imageppurka ( 2013-02-08 09:02:01 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-02-08 09:02:44 -0500

ppurka gravatar image

Someone here suggested installing gnutls-utils.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-02-08 06:38:45 -0500

Seen: 432 times

Last updated: Feb 08 '13