Closed liveforfree closed 9 years ago
Looks like a problem in your end. Can you please try to download the certificate from the server directly to Windows? Alternatively, you can put it in a .zip to ensure it is not modified.
I fixed it in the end by recreating the whole file by hand, something is happening with the unix file endings when taking the generated .ovpn file over to windows 7. I found several posts about this online from other users, completely unrelated to this. To fix it you just need to make sure the file is ASCII character encoding, and for windows the inline certs dont work so you have to make the ca.cert and ca.key files. Then it's all good. Thanks again for this superb script, I have donated :)
On Thu, Jul 2, 2015 at 6:49 PM, Nyr notifications@github.com wrote:
Looks like a problem in your end. Can you please try to download the certificate from the server directly to Windows? Alternatively, you can put it in a .zip to ensure it is not modified.
— Reply to this email directly or view it on GitHub https://github.com/Nyr/openvpn-install/issues/50#issuecomment-118007277.
I am having to the problem on Win7-64. liveforfree mentioned
"for windows the inline certs dont work so you have to make the ca.cert and ca.key files"
Can you please give the instructions how to do this exactly? or better yet, build this as an option in the script.
Ok mate, you simply gotta goto the openvpn directroy on your linux box where you are running this install shell script and copy out the .ca and .key files to your local machine, then ensure they reside inside of your locals openvpn/config directory (same directory the .ovpn fille be)
next inside the .ovpn file that is generated you must remove the inline
I am not able to reproduce this on Windows 7 with the current version of OpenVPN. In-line certificates are working fine for me.
Here is the screenshot of what I see.
Sorry but I still can't reproduce.
Lucky you :)
On Tue, Jul 7, 2015 at 4:33 PM, Nyr notifications@github.com wrote:
Sorry but I still can't reproduce.
— Reply to this email directly or view it on GitHub https://github.com/Nyr/openvpn-install/issues/50#issuecomment-119137057.
I really appreciate what you have done here. But my QA would start screaming if I say "sorry, works for me".
I just said I can't reproduce.
From what I know, this could have nothing to do with the script itself: if someone can help in proving the opposite and I can reproduce the problem, I'll reopen the issue and attempt a fix :)
When using the generated .ovpn file on windows I got the following error windows PEM_read_bio:bad base64 encode
I have googled around alot and it seems to be that some people got this error with problems with line endings not being unix, I have done everything that was suggested and cannot fix the encoding. Really stuck on what to do about this one