-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME
More file actions
34 lines (28 loc) · 712 Bytes
/
README
File metadata and controls
34 lines (28 loc) · 712 Bytes
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
HOWTO
How to build?
-------------
$ git clone https://github.com/sonntex/easy-rsa-server.git
$ cd easy-rsa-server
$ git submodule init
$ git submodule update
$ mkdir build
$ cd build
$ cmake ..
$ make && make install
How to configure server?
------------------------
$ sudo useradd -m -s /bin/bash -d /home/ca ca
$ sudo passwd ca
$ su ca
$ cd
$ su admin
$ rsync -rp /path/to/easy-rsa-server/* ./
$ easy-rsa/easyrsa init-pki
$ easy-rsa/easyrsa build-ca nopass
$ easy-rsa/easyrsa build-server-full server nopass
$ easy-rsa/easyrsa gen-dh
How to configure client?
------------------------
$ ssh-copy-id -i ~/.ssh/id_rsa.pub ca@localhost
$ rsync -rp /path/to/easy-rsa-server/* ./
$ easyrsa-remote-fetch laptop