mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
14 lines
401 B
Plaintext
14 lines
401 B
Plaintext
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
|
|
|