Mender C++ client: Support client side TLS certificates (mtls)

Description

Acceptance criteria:

  • In mender-auth: When using http::Client, take MenderConfig::https_client.certificate and MenderConfig::https_client.key into account, and use them as a client certificate and key when establishing connections to the server.

  • Mender-update does not need this treatment.

  • Can probably omit unit tests, this is difficult to test there, and instead rely on mtls tests in integration tests.

Affects versions

None

Environment

None

Activity

Show:

Ole Petter OrhagenSeptember 18, 2023 at 9:58 AM

Fixed

Details

Assignee

Reporter

Labels

Story Points

Priority

Days in progress

0

Backlog

yes

Zendesk Support

Checklist

Created August 8, 2023 at 8:32 AM
Updated June 25, 2024 at 11:55 AM
Resolved September 19, 2023 at 8:36 AM