mirror of
https://github.com/evgeny-gridasov/openvpn-otp.git
synced 2026-04-25 05:15:57 +03:00
[GH-ISSUE #36] openvpn-otp didn't working on debian stretch #20
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/openvpn-otp#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @unix196 on GitHub (Aug 17, 2020).
Original GitHub issue: https://github.com/evgeny-gridasov/openvpn-otp/issues/36
Good day. I receive this error after run openvpn server with plugin openvpn-otp:
Server config:
Verion OS:
Debian GNU/Linux 9.12 (stretch)openvpn-otp build as debian package.
I saw old issue with comment - https://github.com/evgeny-gridasov/openvpn-otp/issues/29#issuecomment-442696402, but I try install different verions of openvpn server (2.4.9, 2.4.8, 2.4.7 - use repo from openvpn ) - error is the same.
I suspect that trouble with openssl, but I don't know how fix that.
@evgeny-gridasov commented on GitHub (Aug 17, 2020):
Hi unix196,
Have you tried compiling it from source? I'm not sure what the package maintainers did to compile it, so it is difficult to tell what is going on. It is OpenSSL related. EVP_MD_CTX_free is available from OpenSSL 1.1.0, not sure why it is not available in your build of OpenSSL.
Could you please run ldd against openvpn binary and provide results here?
@unix196 commented on GitHub (Aug 17, 2020):
I think that maintain my version openssl in production - not a good idea. This option would be possible if I run openvpn in docker, but in future I plan run it on hardware server.
@evgeny-gridasov commented on GitHub (Aug 17, 2020):
This is where your problem is. OpenVPN is linked against libssl 1.0.2 but should be 1.1
You need to either recompile OpenVPN against libssl 1.1 or recompile the plugin against the version you have installed.
I would also suggest you send an email to package maintainers to fix that.
Can I ask, where did you get the openvpn-otp deb file, is it part of Debian now?
@unix196 commented on GitHub (Aug 17, 2020):
Oh, I think I started to understand where the problem is - I build deb on one VM, then clone this VM and install assembled deb package. From documentation I need install
libssl-dev/openssl-devel/libressl-devel, on build machine I setuplibssl-dev:I don't really understand how to fix it yet, but I figured out where to dig.
@unix196 commented on GitHub (Aug 18, 2020):
I'm all the same not clear understand what should be done: on my distro - debian 9 stretch, all version
openvpnuselibssl.so.1.0.2(ldd /usr/sbin/openvpn), though on server I have also installed packagelibssl1.1. I didmake installplugin openvpn-otp,apt-get install openvpnand receive the same error (EVP_MD_CTX_free: No such file or...) (all action I do on one machine).Can I get along without
recompile OpenVPN against libssl 1.1? ( because on production it will require build my deb package openvpn, maintain it).@unix196 commented on GitHub (Aug 20, 2020):
figured out:
Package
libssl-devno need to install on build machine, neededlibssl1.0-dev