I'm getting this error now (I wasn't prior to last week) when attempting to use CURL to get a token using CERTIFICATE authentication.
* Trying 10.16.19.21...
* Connected to 10.16.19.21 (10.16.19.21) port 8000 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* NSS: client certificate from file
* subject: CN=*,O=,L=,ST=,C=US
* start date: Jun 24 17:41:57 2015 GMT
* expire date: Jun 23 17:41:57 2016 GMT
* common name: *
* issuer: CN=*,O=,L=,ST=,C=US
* SSL connection using TLS_RSA_WITH_AES_128_CBC_SHA
* Server certificate:
* subject: CN=*,O=,L=,ST=,C=US
* start date: Jun 04 20:11:19 2015 GMT
* expire date: Oct 19 20:11:19 2042 GMT
* common name: *
* issuer: CN=*,O=,L=,ST=,C=US
> PUT /v1/auth/cert/login HTTP/1.1
> User-Agent: curl/7.40.0
> Accept: */*
>
< HTTP/1.1 400 Bad Request
< Content-Type: application/json
< Date: Wed, 08 Jul 2015 18:52:23 GMT
< Content-Length: 39
<
{"errors":["tls connection required"]}
* Connection #0 to host 10.16.19.21 left intact
I've tried with --tlsv1.2 with the same result. Using --tlsv1.1 or --tlsv1.0 get's an unsupported error. I'm using CentOS 6.6 with all current updates from the Amazon default update server, as most of the clients we run use this for updates. If I have to have something special (not in current distribution libraries for RedHat or CentOS) then I won't be able to get authorization to use Vault on corporate servers. Maybe I just messed something up?