Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The openvpn.sh file doesn't work with Ubuntu 18.04 LTS #8

Closed
gregglowrimore opened this issue Sep 5, 2018 · 8 comments
Closed

The openvpn.sh file doesn't work with Ubuntu 18.04 LTS #8

gregglowrimore opened this issue Sep 5, 2018 · 8 comments

Comments

@gregglowrimore
Copy link

The make-cadir creates a folder with a default vars file. In that vars file, there is a whichopensslcnf call that doesn't work with the openssl-*.cnf files laid out by the make-cadir. It needs another elif block to check for openssl-1.1.0.cnf to match the openssl version in 18.04 LTS.

@redgeoff
Copy link
Owner

redgeoff commented Sep 5, 2018

Thanks @gregglowrimore. Would you be willing to submit a PR?

@saidmasoud
Copy link

Hi @gregglowrimore

Could you tell me where the openssl-1.1.0.cnf file is located? I could not find it on my 18.04 machine, I only found an openssl-1.0.0.cnf file. I have a temporary/hacky fix in place until this repo is updated to support 18.04.

@ronnythedev
Copy link

Is there a way to get the hacky fix? Currently AWS does not allow to create instances with an older version of Ubutu I think

@ronnythedev
Copy link

Never mind, there is a way to use Ubuntu 16.04.

@saidmasoud
Copy link

sorry @ron-camaron !!! I actually ended up using the below repo instead since the add-client.sh script still didn't work after getting the install to work. Unfortunately, it's a prompt-based script and the maintainer isn waiting for a PR to add flags for automation, but it worked for me.

https://github.com/angristan/openvpn-install

@vaughnd
Copy link

vaughnd commented Oct 8, 2018

Had to fix this manually. Trouble is that make-cadir from easy-rsa 2.2.2 that comes with Ubuntu 18 doesn't deal with openssl-1.1.0.cnf yet. I had to re-run openvpn.sh and let it create the openvpn-ca directory, then ctrl-c out, cp /etc/ssl/openssl.cnf openvpn-ca/openssl-1.1.0.cnf, then run openvpn.sh again and it worked.

@cvernooy23
Copy link

@vaughnd I tried the workaround you mentioned, but to no avail. I ended up using the project mentioned by @saidmasoud which worked fine.

@redgeoff
Copy link
Owner

Fixed by #13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants