Table of Contents

Your own Barnevernet setup

Requirements:

Certificate generation

Generate the certificate:

openssl req -new -x509 -keyout nodes.pem -out nodes.pem -days 365 -nodes
openssl pkcs12 -export -out nodes.pfx -nodes -inkey nodes.pem -in nodes.pem

Note the certificate fingerprint:

openssl x509 -noout -in nodes.pem -fingerprint

Compilation

Download the source code. Open the “client” project. Edit ClientWorker.cs:

Build → Build solution. The resulting binary is client/bin/x86/Release/client.exe.

Open the “server” project. Edit ServerWorker.cs:

Build → Build solution.

Now you can run server.exe and send client.exe to your users.