updated readme

This commit is contained in:
Nikos Mavrogiannopoulos
2013-02-07 18:26:40 +01:00
parent a01acce3db
commit 6606883665
2 changed files with 8 additions and 2 deletions

5
README
View File

@@ -3,6 +3,11 @@ To build from the git repository use:
$ autoreconf -fvi
$ ./configure && make
Now you need to generate a certificate. E.g.
$ certtool --generate-privkey > ./test-key.pem
$ certtool --generate-self-signed --load-privkey test-key.pem --outfile test-cert.pem
(make sure you enable encryption or signing)
To run the server edit the src/sample.config and then run:
# src/ocserv -f -c src/sample.config

View File

@@ -1,6 +1,7 @@
# User authentication method. Could be set multiple times and in that case
# all should succeed.
# Options: certificate, pam.
#auth = certificate
auth = "pam"
# UTMP
@@ -25,8 +26,8 @@ udp-port = 3333
keepalive = 90
# The key and the certificates of the server
server-cert = /home/nmav/cvs/ocserv/test.pem
server-key = /home/nmav/cvs/ocserv/test.pem
server-cert = ./test-cert.pem
server-key = ./test-key.pem
# The Certificate Authority that will be used
# to verify clients if certificate authentication