Add support for encrypted PEM files for gRPC egress

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0, 8.3.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • v8.3
    • Server Security 2026-05-08
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      See https://docs.google.com/document/d/1V9GE97DDrpiDSWdI6dPPy1mQGiWwfEwSViPewMlrwn4/edit?tab=t.0#heading=h.177fzfbof7mt for additional context on Egress gRPC for Search

      ------------------------------

      There is an open issue on the gRPC library (https://github.com/grpc/grpc/issues/14216) indicating the lack of support for cert (private key PEM file) passwords.

      We would need to add upstream support to gRPC for certificate passwords:

      And also ensure our local certificate check properly uses the certificate password as well: https://github.com/10gen/mongo/blob/1a49046d343f0cf1e154ecac5654fb8f7030a094/src/mongo/transport/grpc/client.cpp#L683

            Assignee:
            Sam Frank
            Reporter:
            Adam Rayner
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: