- Install all of the dependencies (documentation to come in the future)
$ git clone -b $(curl -L http://grpc.io/release) https://github.com/grpc/grpc
$ cd grpc
$ git submodule update --init
$ make
$ [sudo] make installThe first part is to build from sources
$ git clone https://github.com/soteriapass/server
$ git submodule update --init --recursive
$ cd src/
$ make
$ [sudo] make installAfter this, we will need to configure the server. We will need to generate encryption keys and server certificates. We will accompish this using easy-rsa.
$ git clone -b release/2.x https://github.com/soteriapass/easy-rsa
$ cd easy-rsa/easy-rsa/2.0/!No longer valid with easy-rsa 3
This step is optional, but it does allow you to configure the default values for the certificate creation to ensure that they are consistent.
$ cp ./easyrsa3/vars.example ./easyrsa3/vars
$ vim ./easyrsa3/varsWe want to modify all of the "KEY_" variables, which should be located at the bottom of the file. The variables names are easy enough to understand. Once the "vars" are all completed, you should have something resembling this:
export KEY_COUNTRY="US"
export KEY_PROVINCE="NY"
export KEY_CITY="New York"
export KEY_ORG="Organization Name"
export KEY_EMAIL="administrator@example.com"
export KEY_CN=droplet.example.com
export KEY_NAME=server
export KEY_OU=server $ cd ./easyrsa3
$ ./easyrsa init-pki
$ ./easyrsa build-caWe can now build our certificate authority (CA for short), based on the information provided in the vars file
$ source ./vars
$ ./clean-all
$ ./build-caThe current supported OS is Linux. Window support planned for the future.
This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See http://www.wassenaar.org/ for more information.
The main license for this project is the GPLv3 - https://github.com/devgeeks/Encryptr/blob/master/LICENSE
Certain parts of this distribution is licensed under the Apache License http://www.apache.org/licenses/LICENSE-2.0