This is required to allow applying Alon's autotools/rpm/documentation patches from GitHub OpenVPN/easy-rsa-old tree. Signed-off-by: Samuli Seppänen <samuli@openvpn.net> Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
41 lines
971 B
Plaintext
41 lines
971 B
Plaintext
@echo off
|
|
rem Edit this variable to point to
|
|
rem the openssl.cnf file included
|
|
rem with easy-rsa.
|
|
|
|
set HOME=%ProgramFiles%\OpenVPN\easy-rsa
|
|
set KEY_CONFIG=openssl-1.0.0.cnf
|
|
|
|
rem Edit this variable to point to
|
|
rem your soon-to-be-created key
|
|
rem directory.
|
|
rem
|
|
rem WARNING: clean-all will do
|
|
rem a rm -rf on this directory
|
|
rem so make sure you define
|
|
rem it correctly!
|
|
set KEY_DIR=keys
|
|
|
|
rem Increase this to 2048 if you
|
|
rem are paranoid. This will slow
|
|
rem down TLS negotiation performance
|
|
rem as well as the one-time DH parms
|
|
rem generation process.
|
|
set KEY_SIZE=1024
|
|
|
|
rem These are the default values for fields
|
|
rem which will be placed in the certificate.
|
|
rem Change these to reflect your site.
|
|
rem Don't leave any of these parms blank.
|
|
|
|
set KEY_COUNTRY=US
|
|
set KEY_PROVINCE=CA
|
|
set KEY_CITY=SanFrancisco
|
|
set KEY_ORG=OpenVPN
|
|
set KEY_EMAIL=mail@host.domain
|
|
set KEY_CN=changeme
|
|
set KEY_NAME=changeme
|
|
set KEY_OU=changeme
|
|
set PKCS11_MODULE_PATH=changeme
|
|
set PKCS11_PIN=1234
|