Certificate Creation Errors: build-ca
Posted: Wed Feb 02, 2011 4:07 am
I was editing vars.bat when I think that I broke my windows install somehow :\ It was working fine, but something I did to vars.bat (sorry I don't have what it was before) corrupted something...
After I run vars.bat and clean-all.bat, it changes the directory from "C:\Program Files (x86)\OpenVPN\easy-rsa" to "C:\Program Files\OpenVPN\easy-rsa". It didn't do that before. Here is a log of the CMD window (ran as admin) after a fresh restart of windows and install of OpenVPN:
I am on Windows 7 64-bit. Can anybody help?
After I run vars.bat and clean-all.bat, it changes the directory from "C:\Program Files (x86)\OpenVPN\easy-rsa" to "C:\Program Files\OpenVPN\easy-rsa". It didn't do that before. Here is a log of the CMD window (ran as admin) after a fresh restart of windows and install of OpenVPN:
Code: Select all
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>cd C:\Program Files (x86)\OpenVPN\easy-rsa
C:\Program Files (x86)\OpenVPN\easy-rsa>init-config
C:\Program Files (x86)\OpenVPN\easy-rsa>copy vars.bat.sample vars.bat
1 file(s) copied.
C:\Program Files (x86)\OpenVPN\easy-rsa>copy openssl.cnf.sample openssl.cnf
1 file(s) copied.
C:\Program Files (x86)\OpenVPN\easy-rsa>vars
C:\Program Files (x86)\OpenVPN\easy-rsa>clean-all
The system cannot find the file specified.
The system cannot find the file specified.
C:\Program Files\OpenVPN\easy-rsa>cd C:\Program Files (x86)\OpenVPN\easy-rsa
C:\Program Files (x86)\OpenVPN\easy-rsa>vars
C:\Program Files (x86)\OpenVPN\easy-rsa>build-ca
error on line -1 of openssl.cnf
4440:error:02001002:system library:fopen:No such file or directory:.\crypto\bio\
bss_file.c:126:fopen('openssl.cnf','rb')
4440:error:2006D080:BIO routines:BIO_new_file:no such file:.\crypto\bio\bss_file
.c:129:
4440:error:0E078072:configuration file routines:DEF_LOAD:no such file:.\crypto\c
onf\conf_def.c:197:
C:\Program Files\OpenVPN\easy-rsa>