User Tools

Site Tools


barnevernet:yoursetup

Your own Barnevernet setup

Requirements:

  • Windows 7/8/10
  • Visual Studio (2013, but other should work too)

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:

  • ip: set to your IP address
  • servercert: the certificate fingerprint (generated above)

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

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

  • certpath: path to the certificate you have generated

Build → Build solution.

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

barnevernet/yoursetup.txt · Last modified: 2015-09-02 22:54:35 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki