Files
nomad/nomad
Luiz Aoqui 29ffa02683 fix mTLS certificate check on agent to agent RPCs (#11998)
PR #11956 implemented a new mTLS RPC check to validate the role of the
certificate used in the request, but further testing revealed two flaws:

  1. client-only endpoints did not accept server certificates so the
     request would fail when forwarded from one server to another.
  2. the certificate was being checked after the request was forwarded,
     so the check would happen over the server certificate, not the
     actual source.

This commit checks for the desired mTLS level, where the client level
accepts both, a server or a client certificate. It also validates the
cercertificate before the request is forwarded.
2022-02-04 20:35:20 -05:00
..
2020-02-16 16:04:59 -06:00
2021-04-01 11:16:52 -04:00
2018-09-15 16:23:13 -07:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2019-01-22 15:44:31 -08:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2020-07-20 09:25:09 -04:00
2018-02-15 13:59:00 -08:00
2018-09-15 16:23:13 -07:00
2021-10-01 10:14:28 -04:00
2021-01-04 09:00:40 -05:00
2021-10-01 10:14:28 -04:00
2018-09-15 16:23:13 -07:00
2021-10-01 10:14:28 -04:00
2020-02-13 18:56:53 -05:00