umask 022
openssl req -days 1825 -x509 -new -key certs/ca.key > certs/ca.crt
openssl req -new -key certs/vpngw.key > certs/vpngw.csr
openssl ca -in certs/vpngw.csr -keyfile certs/ca.key \
-cert certs/ca.crt -out certs/vpngw.crt
After the server credentials have been created, you will need to move the server
certificate and private key files to the certificate path specified in your racoon
configuration file. The certificate authority public certificate should be given to
each user that will be connecting to the gateway.