The default vpnc in Ubuntu comes without openssl support. Bugger… But with these few lines of code this is solved:
sudo apt-get update sudo apt-get build-dep vpnc sudo apt-get install libssl-dev mkdir ~/src/vpnc -p cd ~/src/vpnc apt-get source vpnc cd vpnc-* dpkg-buildpackage sudo dpkg -i ../vpnc*.deb
Et voila: vpnc with openssl!
6 comments ↓
karlo@karlo-laptop:~/src/vpnc/vpnc-0.5.1r275$ vpnc
vpnc was built without openssl: Can’t do hybrid or cert mode.
I don’t see what I am doing wrong… I followed the steps exactly
Try to uncomment the two OPENSSL lines that are annotated in the comments in the makefile. Maybe that helps?
Doesn’t work – still getting “vpnc was built without openssl: Can’t do hybrid or cert mode.”
Before step 8, open Makefile in text editor and uncomment the lines
OPENSSL_GPL_VIOLATION = DOPENSSL_GPL_VIOLATION
OPENSSLLIBS = -lcrypto
and continue as per instructions
Editing the Makefile as per Aris’s instructions worked for me.
Thanks, Aris!
Leave a Comment