HomePhabricator
Diffusion Comm d8a895c13a62

[Keyserver/rust] Initialize gRPC with host's TLS certs

Description

[Keyserver/rust] Initialize gRPC with host's TLS certs

Summary:
Ensure that connections using https have the host's
CA certificates loaded prior to connecting to identity service.

https://linear.app/comm/issue/ENG-4410

Test Plan:

  • Dev Workflow:
    • Start localstack and identity service
    • cd keyserver && yarn dev
  • Prod Workflow:
    • export COMM_JSONCONFIG_secrets_identity_service_config="{\"identitySocketAddr\":\"https://identity.commtechnologies.org:50054\"}"
    • cd keyserver && yarn dev

In both workflows, the metadata table should be populated
with user_id and access_token

Reviewers: varun, bartek, ashoat

Reviewed By: varun, bartek

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D8538

Details

Provenance
jonAuthored on Jul 18 2023, 1:52 PM
Reviewer
varun
Differential Revision
D8538: [Keyserver/rust] Initialize gRPC with host's TLS certs
Parents
rCOMMe275bd060a6a: [native] Disable stack gestures while editing messages
Branches
Unknown
Tags
Unknown