Ask Your Question
0

Fedora cert tools

asked 2013-02-08 13:38:45 +0100

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)
    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.
edit retag flag offensive close merge delete

Comments

1

Someone [here](http://www.linuxquestions.org/questions/linux-newbie-8/no-certtool-in-fc12-775306) suggested installing gnutls-utils.

ppurka gravatar imageppurka ( 2013-02-08 15:41:33 +0100 )edit

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

Caterpillar gravatar imageCaterpillar ( 2013-02-08 15:56:46 +0100 )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 16:02:01 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-02-08 16:02:44 +0100

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

Stats

Asked: 2013-02-08 13:38:45 +0100

Seen: 1,045 times

Last updated: Feb 08 '13