-
Hi! I'm trying to set up a connection using TLS for gRPC. I set up the rr connection according to the configuration example: https://raw.githubusercontent.com/roadrunner-server/roadrunner/master/.rr.yaml
grpc:
...
tls:
key: "server.key"
cert: "server.crt"
root_ca: "ca.crt"
client_auth_type: require_and_verify_client_cert On the client side: $credentials = ChannelCredentials::createSsl(
file_get_contents('ca.pem'),
file_get_contents('client.key'),
file_get_contents('client.pem')
); However, I am getting either handshake errors or a blank in response. What is the difference between the options: How to set up TLS authorization correctly? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
Hey @s1lver, nice to meet you 👋🏻 For example, if you set the client_auth_type: |
Beta Was this translation helpful? Give feedback.
-
However, I think there is some kind of error on the server.I verified the validity of the issued certificates. Checked curl does not issue warnings. Went through all possible options. I am getting the same error:
The roadrunner is silent
and without tls
|
Beta Was this translation helpful? Give feedback.
-
Works correctly: https://github.com/s1lver/rr-grpc-tls-php |
Beta Was this translation helpful? Give feedback.
Works correctly: https://github.com/s1lver/rr-grpc-tls-php
discord-chat