Hi, Apologies for the late response. Looks like we had missed this conversation thread somehow. I found this comment <https://github.com/grpc/grpc/issues/28330#issuecomment-1039663640> from an old Github issue that discusses how to use OpenSSL engine with gRPC Python but using a source build after setting some env variables. Using that along with `grpc.ssl_server_credentials` as in the examples here <https://github.com/grpc/grpc/tree/master/examples/python/auth> should help your use case.
While this is using source build, I will check and revert if there are any recent versions with pre-built binaries to help with this. On Saturday, January 25, 2025 at 6:05:17 AM UTC+5:30 Subramanian Swaminathan wrote: > Still awaiting a response, if this is possible? > > On Wednesday, November 13, 2024 at 1:54:07 PM UTC-5 Subramanian > Swaminathan wrote: > >> >> Recently this commit was done to the cpp grpc implementation to support >> OpenSSL engines >> >> https://github.com/grpc/grpc/pull/20316/files >> >> Is this change visible in the python's grpc implementation as well? if so >> what version of gRPC has this support? >> >> Regards, >> -Sub >> On Tuesday, November 12, 2024 at 3:50:44 PM UTC-5 Subramanian Swaminathan >> wrote: >> >>> When setting a secure gRPC server using python is it possible to use a >>> ssl engine to provide the private key, for eg useing tpm2-engine >> >> -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/grpc-io/45153b3f-30e6-45d9-83b4-0a5aa58799f9n%40googlegroups.com.