Not sure if this helps, but I am able to reproduce the same 401 from a curl command (outside of the authenticator pod).
In this case I am just using the server_certificate.cert file that is generated by the https://github.com/cyberark/kubernetes-conjur-deploy/start script and uploaded as the config map.
Request (without passing --key or --cert), not sure if one of those is what is missing :
curl -X POST -v --cacert server_certificate.cert https://conjurmaster.dtt-iam.xyz/authn-k8s/conjur-authenticator/deloittepilot/host%2Fconjur%2Fauthn-k8s%2Fconjur-authenticator%2Fapps%2Fconjur-follower%2Fservice_account%2Fconjur-cluster/authenticate
* Trying 13.237.229.226...
* TCP_NODELAY set
* Connected to conjurmaster.dtt-iam.xyz (13.237.229.226) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: server_certificate.cert
CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: CN=conjurmaster.dtt-iam.xyz
* start date: Nov 4 07:13:27 2019 GMT
* expire date: Nov 1 07:13:27 2029 GMT
* subjectAltName: host "conjurmaster.dtt-iam.xyz" matched cert's "conjurmaster.dtt-iam.xyz"
* issuer: O=deloittepilot; OU=Conjur CA; CN=conjurmaster.dtt-iam.xyz
* SSL certificate verify ok.
> POST /authn-k8s/conjur-authenticator/deloittepilot/host%2Fconjur%2Fauthn-k8s%2Fconjur-authenticator%2Fapps%2Fconjur-follower%2Fservice_account%2Fconjur-cluster/authenticate HTTP/1.1
> Host: conjurmaster.dtt-iam.xyz
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 401 Unauthorized
< Cache-Control: no-cache
< Content-Type: text/html
< Date: Tue, 05 Nov 2019 00:33:04 GMT
< Server: nginx
< X-Content-Type-Options: nosniff
< X-Frame-Options: SAMEORIGIN
< X-Request-Id: c4226977-a442-439a-a049-ba2951befd70
< X-Runtime: 0.007000
< X-XSS-Protection: 1; mode=block
< Content-Length: 0
< Connection: keep-alive
<
* Connection #0 to host conjurmaster.dtt-iam.xyz left intact
The error in the console is the same “CONJ00029E Client SSL certificate is missing from the header”:
And the server logs:
2019-11-05T00:33:04.000+00:00 3c5dd9119af3 conjur-possum: [origin=122.105.87.62] [req_id=c4226977-a442-439a-a049-ba2951befd70] Started POST "/authn-k8s/conjur-authenticator/deloittepilot/host%2Fconjur%2Fauthn-k8s%2Fconjur-authenticator%2Fapps%2Fconjur-follower%2Fservice_account%2Fconjur-cluster/authenticate" for 122.105.87.62 at 2019-11-05 00:33:04 +0000
2019-11-05T00:33:04.000+00:00 3c5dd9119af3 conjur-possum: [origin=122.105.87.62] [req_id=c4226977-a442-439a-a049-ba2951befd70] Processing by AuthenticateController#authenticate as */*
2019-11-05T00:33:04.000+00:00 3c5dd9119af3 conjur-possum: [origin=122.105.87.62] [req_id=c4226977-a442-439a-a049-ba2951befd70] Parameters: {"authenticator"=>"authn-k8s", "service_id"=>"conjur-authenticator", "account"=>"deloittepilot", "id"=>"host/conjur/authn-k8s/conjur-authenticator/apps/conjur-follower/service_account/conjur-cluster"}
2019-11-05T00:33:04.000+00:00 3c5dd9119af3 conjur-possum: [origin=122.105.87.62] [req_id=c4226977-a442-439a-a049-ba2951befd70] Completed 401 Unauthorized in 6ms
2019-11-05T00:33:05.522+00:00 3c5dd9119af3 nginx: 10.5.10.228 "POST /authn-k8s/conjur-authenticator/deloittepilot/host%2Fconjur%2Fauthn-k8s%2Fconjur-authenticator%2Fapps%2Fconjur-follower%2Fservice_account%2Fconjur-cluster/authenticate HTTP/1.1" 401 5 "-" "curl/7.54.0" 0.008 0.008