#!/bin/sh

key=$1
./easyrsa build-client-full $key nopass
cp pki/issued/$key.crt /root/clients/keys/$key.crt
cp pki/private/$key.key /root/clients/keys/$key.key
/root/clients/make_config.sh $key