This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
authentic-old/INSTALL

108 lines
3.2 KiB
Plaintext
Raw Normal View History

2005-04-20 14:02:39 +02:00
Authentic - Installation Instructions
=====================================
.. note:: there is an administrator guide covering installation and much more
available in doc/en/ (French translation in doc/fr/)
2005-04-20 14:02:39 +02:00
Prerequisites
-------------
- Lasso 0.6.1 <http://lasso.entrouvert.org>
- Quixote 2.0 <http://www.mems-exchange.org/software/quixote/>
Installation
------------
Authentic uses the standard distutils Python package; just run::
python setup.py install
and you're done.
2005-04-20 14:02:39 +02:00
2005-08-16 11:19:10 +02:00
.. note:: if you are using Debian, there are packages available, add ``deb
http://deb.entrouvert.org sarge`` in your ``sources.list``.
2005-08-16 11:19:10 +02:00
2005-04-20 14:02:39 +02:00
Configuration
-------------
2005-05-04 16:26:29 +02:00
Authentic has been tested with Quixote configured through mod_python or through
SCGI, both with Apache 1.3 and 2. The recommended configuration is to use
SCGI (version 1.8 or later is recommended since they have SCGIMount directive).
2005-05-04 16:26:29 +02:00
An example configuration (mod_python, Apache 2) looks like this::
2005-04-20 14:02:39 +02:00
<VirtualHost www.example.com:80>
2005-04-20 14:02:39 +02:00
ServerAdmin webmaster@locahost
ServerName www.example.com
DocumentRoot /usr/share/authentic/web/
<LocationMatch "^/authentic(/|$)">
SetHandler python-program
PythonHandler quixote.server.mod_python_handler
PythonOption quixote-publisher-factory authentic.create_publisher
</LocationMatch>
</VirtualHost>
2005-04-23 17:45:30 +02:00
2005-05-04 16:26:29 +02:00
An other example configuration (SCGI, Apache 1.3)::
<VirtualHost *:80>
2005-05-04 16:26:29 +02:00
ServerAdmin webmaster@locahost
ServerName www.example.com
DocumentRoot /usr/share/authentic/web/
RedirectMatch permanent ^/authentic$ /authentic/
<Location /authentic/>
2005-08-16 11:19:10 +02:00
SCGIServer 127.0.0.1 3002
2005-05-04 16:26:29 +02:00
SCGIHandler On
</Location>
2005-08-16 11:19:10 +02:00
</VirtualHost>
2005-05-04 16:26:29 +02:00
SCGI usage requires an additional server to run, authentic_scgi_server.py,
the Debian package installs a init.d script automatically.
2005-08-16 11:19:10 +02:00
It is also possible to have it configured to run at the root of the website,
with something like:
<LocationMatch "^/($|admin|liberty|login|logout|theme|qo|change_password|register|forgot_password)">
2005-08-16 11:19:10 +02:00
SCGIServer 127.0.0.1 3002
SCGIHandler On
</LocationMatch>
This is the situation where SCGIMount is really useful; the previous
configuration snippet would then be:
SCGIMount / 127.0.0.1:3002
<LocationMatch "^/(css|images|js)/.*">
SCGIHandler off
</LocationMatch>
2005-08-16 11:19:10 +02:00
2005-04-23 17:45:30 +02:00
First Use
=========
Point your browser to http://www.example.com/authentic/admin (with whatever
2005-08-16 11:19:10 +02:00
hostname or path you decided to use, and possibly https).
2005-04-23 17:45:30 +02:00
- Identity Management
- New
- Name, username, password, fill them as you want.
2005-08-20 12:38:59 +02:00
- Don't forget to give admin rights to this first user.
2005-04-23 17:45:30 +02:00
- You have now been kicked out, log on with the username/password you entered.
- Settings
- Identity Provider
- Provider ID: whatever
- Base URL: probably ok as is
- Organization Name: whatever
- Private & Public Keys: generate them with OpenSSL or grab some from
another project (<http://lasso.entrouvert.org/souk> has many of them).
- Save metadata from "Identity Provider Metadata"
- Service Providers
- New
- Metadata file from the service provider
2005-08-20 12:38:59 +02:00
- Public key from the service provider
2005-04-23 17:45:30 +02:00
- Configure you service provider to use authentic metadata file and public key.