Failed to determine type of private key

David Woodhouse dwmw2 at
Sun Apr 19 08:27:47 PDT 2015

The -c optiin is for your client certificate, which requires a
corresponding private key is you're going to use it to prove your

For a server-side cert you want --servercert. Or just give the server a
proper cert!

Note that --servercert takes a hash of the cert (which is shown if you ask
for the cert info) not the full cert in a file as you seem to have.


More information about the openconnect-devel mailing list