aboutsummaryrefslogtreecommitdiff
path: root/mod/foafssl/README.txt
blob: ee06969d4d1ffb3ff95798dd1bc0b93caf0a56b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Elgg Foaf-SSL support
----------------------

Foaf ssl support for elgg. Allows to manage client certificates, link them in the foaf file, and login with a certificate authenticating with foaf-ssl.

 installation: 
	place in mod/ folder as "foafssl"

        expects "lib" and "arc" folders from libAuthentications inside the module folder.
        (check git://github.com/melvincarvalho/libAuthentication.git)
        also, you need to configure a database for libAuthentication, you can find the details
        in the authentication.php file ;)

 apache config:
	yes, you need some apache config to get this running... basically the following should go
        in your vhost file (change the location dirs if you have a different root):
# ---------------

    	SSLOptions +ExportCertData +StdEnvVars

	# location to login
        <Location /pg/foafssl/login>
            SSLRequireSSL
            SSLVerifyClient optional_no_ca
            SSLVerifyDepth 1
            SSLOptions +ExportCertData +StdEnvVars
        </Location>

	# location to suck a certificate into a logged in account
        <Location /action/foafssl/suck>
            SSLRequireSSL
            SSLVerifyClient optional_no_ca
            SSLVerifyDepth 1
            SSLOptions +ExportCertData +StdEnvVars
        </Location>


# ---------------

 elgg mod:
   if you want elgg to work with content-type appropriately, you need to apply the following patch to elgglib.php (approximate):
   http://trac.elgg.org/ticket/2223

------

 code repo:
	https://rhizomatik@bitbucket.org/rhizomatik/elgg_foafssl
 license:
	GPLv2 (see COPYING)

--

devel@lorea.cc