"init-config" command is not recognized
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 11
- Joined: Tue Nov 03, 2020 1:39 pm
"init-config" command is not recognized
Bonjour
Je souhaite créer un tunnel sous Windows 10 pro x64 - Pour cela j'ai suivi le wiki Easy_Windows_Guide. Malheureusement, la commande "init-config" n'est pas reconnu! J'ai tenté diverses actions qui n'ont pas permis de résoudre le problème. Je suis donc bloqué. Merci pour vos réponses et votre aide.
Hello
I want to create a tunnel under Windows 10 pro x64 - For that I followed the Easy_Windows_Guide wiki. Unfortunately, the "init-config" command is not recognized! I tried various actions which failed to resolve the issue. So I am stuck. Thank you for your responses and your help.
Je souhaite créer un tunnel sous Windows 10 pro x64 - Pour cela j'ai suivi le wiki Easy_Windows_Guide. Malheureusement, la commande "init-config" n'est pas reconnu! J'ai tenté diverses actions qui n'ont pas permis de résoudre le problème. Je suis donc bloqué. Merci pour vos réponses et votre aide.
Hello
I want to create a tunnel under Windows 10 pro x64 - For that I followed the Easy_Windows_Guide wiki. Unfortunately, the "init-config" command is not recognized! I tried various actions which failed to resolve the issue. So I am stuck. Thank you for your responses and your help.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: HOWTO: Request Help !
Try:
https://community.openvpn.net/openvpn/w ... nVPN-Howto
Code: Select all
./easyrsa help
-
- OpenVpn Newbie
- Posts: 11
- Joined: Tue Nov 03, 2020 1:39 pm
Re: "init-config" command is not recognized
The command ./easyrsa help gives me access to the list of the following commands:
init-pki
build-ca [cmd-opts]
gen-dh
gen-req <filename_base> [cmd-opts]
sign-req <type> <filename_base>
build-client-full <filename_base> [cmd-opts]
build-server-full <filename_base> [cmd-opts]
revoke <filename_base> [cmd-opts]
renew <filename_base> [cmd-opts]
build-serverClient-full <filename_base> [cmd-opts]
gen-crl
update-db
show-req <filename_base> [cmd-opts]
show-cert <filename_base> [cmd-opts]
show-ca [cmd-opts]
import-req <request_file_path> <short_basename>
export-p7 <filename_base> [cmd-opts]
export-p8 <filename_base> [cmd-opts]
export-p12 <filename_base> [cmd-opts]
set-rsa-pass <filename_base> [cmd-opts]
set-ec-pass <filename_base> [cmd-opts]
upgrade <type>
I just installed OpenVPN-2.5.0-I601-amd64.msi with all its options. Which command to use?
init-pki
build-ca [cmd-opts]
gen-dh
gen-req <filename_base> [cmd-opts]
sign-req <type> <filename_base>
build-client-full <filename_base> [cmd-opts]
build-server-full <filename_base> [cmd-opts]
revoke <filename_base> [cmd-opts]
renew <filename_base> [cmd-opts]
build-serverClient-full <filename_base> [cmd-opts]
gen-crl
update-db
show-req <filename_base> [cmd-opts]
show-cert <filename_base> [cmd-opts]
show-ca [cmd-opts]
import-req <request_file_path> <short_basename>
export-p7 <filename_base> [cmd-opts]
export-p8 <filename_base> [cmd-opts]
export-p12 <filename_base> [cmd-opts]
set-rsa-pass <filename_base> [cmd-opts]
set-ec-pass <filename_base> [cmd-opts]
upgrade <type>
I just installed OpenVPN-2.5.0-I601-amd64.msi with all its options. Which command to use?
-
- OpenVpn Newbie
- Posts: 11
- Joined: Tue Nov 03, 2020 1:39 pm
Re: "init-config" command is not recognized
What do I do now?
-
- OpenVpn Newbie
- Posts: 11
- Joined: Tue Nov 03, 2020 1:39 pm
Creating the configuration file pour WIndows
Hello,
I have no response to my first post. So I'm opening this new post in the hopes of generating more interest. Indeed, my first post may not have been clear enough.
I installed OpenVPN-2.5.0-I601-amd64.msi with all its options on Windows 10 pro.
I am new to OPENVPN Community Edition, so I followed the Easy_Windows_Guide. Unfortunately, I am unable to get the config file because from the start the "init-config" command is an unrecognized command.
What solutions to overcome this blockage can you provide me to finally create a VPN with OpenVPN.
Thanks in advance for all the helpful tips and tutorials you could give me
I have no response to my first post. So I'm opening this new post in the hopes of generating more interest. Indeed, my first post may not have been clear enough.
I installed OpenVPN-2.5.0-I601-amd64.msi with all its options on Windows 10 pro.
I am new to OPENVPN Community Edition, so I followed the Easy_Windows_Guide. Unfortunately, I am unable to get the config file because from the start the "init-config" command is an unrecognized command.
What solutions to overcome this blockage can you provide me to finally create a VPN with OpenVPN.
Thanks in advance for all the helpful tips and tutorials you could give me
Last edited by Pippin on Fri Nov 06, 2020 2:33 pm, edited 1 time in total.
Reason: Merged, please do not post same question multiple times.
Reason: Merged, please do not post same question multiple times.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Tue Nov 17, 2020 1:18 am
Re: "init-config" command is not recognized
2.5.0 installer MSI is broken - download 2.4.9 and install using openvpn-install-2.4.9-I601-Win10.exe
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
-
- OpenVpn Newbie
- Posts: 1
- Joined: Fri Dec 04, 2020 2:25 pm
Re: "init-config" command is not recognized
I have the exact same problem as the OP. I'm also on Windows 10 Pro trying to install OpenVPN using the same version of the installer and nothing is working. Please can someone advise what I'm doing wrong?
-
- OpenVpn Newbie
- Posts: 11
- Joined: Tue Nov 03, 2020 1:39 pm
Re: "init-config" command is not recognized
Now i get that ! Anyone have any idea to fix this problem
EasyRSA Shell
# ./easyrsa init-pki
Easy-RSA error:
Temporary directory 'C:/Program Files/OpenVPN/easy-rsa/pki/easy-rsa-11776.a07248' does not exist
Easy-RSA error:
Failed to create temporary file
EasyRSA Shell
# ./easyrsa init-pki
Easy-RSA error:
Temporary directory 'C:/Program Files/OpenVPN/easy-rsa/pki/easy-rsa-11776.a07248' does not exist
Easy-RSA error:
Failed to create temporary file
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: "init-config" command is not recognized
You must have admin privileges to use EasyRSA in that folder.
-
- OpenVpn Newbie
- Posts: 11
- Joined: Tue Nov 03, 2020 1:39 pm
Re: "init-config" command is not recognized
it is not possible to run in admin
-
- OpenVpn Newbie
- Posts: 11
- Joined: Tue Nov 03, 2020 1:39 pm
Re: "init-config" command is not recognized
when I run in admin the window opens and closes immediately
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: "init-config" command is not recognized
You must learn how to use Windows.
-
- OpenVpn Newbie
- Posts: 11
- Joined: Tue Nov 03, 2020 1:39 pm
Re: « init-config » commande n’est pas reconnu
Strange way of doing and responding! I don't understand. While waiting when I need nothing, I ask TinCanTech
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: "init-config" command is not recognized
You must login to Windows with your Administrator account.
-
- OpenVpn Newbie
- Posts: 11
- Joined: Tue Nov 03, 2020 1:39 pm
Re: « init-config » commande n’est pas reconnu
It has been from the start - the problem is still present
-
- OpenVpn Newbie
- Posts: 11
- Joined: Tue Nov 03, 2020 1:39 pm
Re: « init-config » commande n’est pas reconnu
it would have been easier to clarify that a standard administrator account is not enough. I just tried in super administrator session (hidden account). And miracle it works! I will continue to test but frankly the tutorials and informations are limited. To wonder if someone puts himself in the shoes of the users-
to believe that one likes to waste his time or then the preserve?
to believe that one likes to waste his time or then the preserve?
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: "init-config" command is not recognized
Blame Microsoft...
-
- OpenVpn Newbie
- Posts: 1
- Joined: Thu Jan 14, 2021 3:52 am
Re: "init-config" command is not recognized
This is what worked for me:
- run cmd as administrator
- in cmd change folder to your OpenVpn\easy-rsa with "cd" command (in my case: C:\Program Files\OpenVPN\easy-rsa)
- in cmd run EasyRSA-Start.bat
now when you run: "easyrsa init-pki" command will be executed without error and folder pki will be created
I hope it help somebody.
- run cmd as administrator
- in cmd change folder to your OpenVpn\easy-rsa with "cd" command (in my case: C:\Program Files\OpenVPN\easy-rsa)
- in cmd run EasyRSA-Start.bat
now when you run: "easyrsa init-pki" command will be executed without error and folder pki will be created
I hope it help somebody.
-
- OpenVpn Newbie
- Posts: 1
- Joined: Fri Dec 31, 2021 6:44 pm
Re: "init-config" command is not recognized
Yes - this was a great help! Thank you!