Results 1 to 3 of 3
Thread: Windows Vista + OpenVPN -
Hybrid View
-
2nd May 2011 14:04 #1Registered User
Join Date: May:2011
Location: Sofia
Posts: 1
Windows Vista + OpenVPN -
OpenVPN , . - 2.20, .
.
c:\program files\openvpn\easy-rsa vars.bat
build-ca.bat , ca.crt, ( , openssh.ctl , sample-a, )
C:\Program Files\OpenVPN\easy-rsa>build-ca.bat
error on line 150 of openssl.cnf
2592:error:0E065068:configuration file routines:STR_COPY:variable has no value:.
\crypto\conf\conf_def.c:618:line 150
vars.bat
@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.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=BG
set KEY_PROVINCE=BG
set KEY_CITY=Sofia
set KEY_ORG=OpenVPN
set KEY_EMAIL=mail1@mail.bg
build-ca.bat
@echo off
cd %HOME%
rem build a cert authority valid for ten years, starting now
openssl req -days 3650 -nodes -new -x509 -keyout %KEY_DIR%\ca.key -out %KEY_DIR%\ca.crt -config %KEY_CONFIG%
, easy-rsa openssl.exe
?
-
2nd May 2011 14:49 #2Registered User
Join Date: Oct:2003
Location:
Posts: 4,317
, Vista Program Files. bat- run as administrator.
-
9th May 2011 18:05 #3Registered User
Join Date: May:2011
Location: Riyadh
Posts: 1
Windows.
openssl.cnf vars.bat Windows .
:
:
set KEY_COUNTRY=<>
set KEY_PROVINCE=<>
set KEY_CITY=<>
set KEY_ORG=<>
set KEY_EMAIL=<>
:
set KEY_OU=< Organizational Unit Name>
set KEY_CN=< Common Name (eg, your name or your server's hostname)>
set KEY_NAME=<>
set PKCS11_MODULE_PATH=%HOME%
set PKCS11_PIN=< >
.




Reply With Quote
R9 280,
7th May 2023, 21:28 in