Does gRPC support password protected SSL keys?

122 views
Skip to first unread message

chris....@gmail.com

unread,
Dec 19, 2017, 1:23:54 PM12/19/17
to grpc.io
Looking to use SSL in my client application. The SSL keys we use are often passphrase encrypted. Libcurl supports passing in the passphrase as an option, but I've been unable to find any such option in gRPC.

Carl Mastrangelo

unread,
Jan 4, 2018, 7:37:40 PM1/4/18
to grpc.io
What language?

chris....@gmail.com

unread,
Jan 4, 2018, 7:45:53 PM1/4/18
to grpc.io
For my needs specifically, C++, though ideally this would be supported across all languages as part of general SSL support in gRPC.

Carl Mastrangelo

unread,
Jan 5, 2018, 1:35:58 PM1/5/18
to grpc.io
And just to clarify, I think you are talking about PKCS 12 for the key encryption?     I am more familiar with Java so my experience is limitted.  That said, in Java you can pass a keystore into into your SSL context when creating the Server (or channel).    Also IIRC, Go got support for encrypted keys a while back.

chris....@gmail.com

unread,
Jan 26, 2018, 3:04:37 PM1/26/18
to grpc.io
They keys are in PEM format. I'm unsure if they were converted from PKCS12 prior to that.

jian...@google.com

unread,
Jan 29, 2018, 12:04:14 PM1/29/18
to grpc.io
This feature is not supported in gRPC c core right now. I have created an issue for tracking this feature.
Reply all
Reply to author
Forward
0 new messages