Skip to content

Instantly share code, notes, and snippets.

@seelengut
seelengut / openconnect_osx_howto.md
Last active October 18, 2018 17:19 — forked from darrenpmeyer/openconnect_osx_howto.md
Building OpenConnect for OS X with stoken and GnuTLS

This guide helps you build OpenConnect 7.x on OS X. You might want to do this if you want a newer version than the openconnect package in homebrew provides, or if you want to use libstoken support (for having an RSA soft token on your machine be used automatically by OpenConnect).

Shortcut

The version of OpenConnect on Homebrew has been updated, and so this whole guide can now be replaced with:

  1. Install Homebrew from http://brew.sh and make sure it works
  2. brew install openconnect --with-stoken
  3. brew install stoken (See the "Using OpenConnect" section below for information about using stoken to set up soft tokens)