--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/6ee88452-755c-4f03-925c-df07cde6a100%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Baojun,You can enable TLS between your gRPC client and ESP by Enabling SSL. Currently the upstream TLS with gRPC is not supported (#346).If you are running ESP and gRPC server in same VM or same Pod, the suggested way to make it secure is to use Unix Domain Socket between ESP and your gRPC server.Best,Lizan
On Tue, Mar 6, 2018 at 2:50 PM <b...@soliduslink.com> wrote:
Hi,--We are hosting our grpc server with ESP at the moment with no encryption. We need to add a encryption layer over the communication to meet our security standard. Have tried to run grpc with TLS but with no success. Could some one give me some suggestions how to do it correctly?Thanks a lot!Best,
Baojun
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/6ee88452-755c-4f03-925c-df07cde6a100%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Lizan,Thanks a lot answering. Yes we are running ESP and gRPC server on the same VM.I am not sure if I understood you correctly. Do you mean to use Unix Domain Socket between ESP and gRPC server to secure the channel between ESP and gRPC? Our purpose is to secure the channel between ESP and client.Best,
Baojun
On Wed, Mar 7, 2018 at 1:39 AM, Lizan Zhou <zli...@google.com> wrote:
Hi Baojun,You can enable TLS between your gRPC client and ESP by Enabling SSL. Currently the upstream TLS with gRPC is not supported (#346).If you are running ESP and gRPC server in same VM or same Pod, the suggested way to make it secure is to use Unix Domain Socket between ESP and your gRPC server.Best,Lizan
On Tue, Mar 6, 2018 at 2:50 PM <b...@soliduslink.com> wrote:
Hi,--We are hosting our grpc server with ESP at the moment with no encryption. We need to add a encryption layer over the communication to meet our security standard. Have tried to run grpc with TLS but with no success. Could some one give me some suggestions how to do it correctly?Thanks a lot!Best,
Baojun
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/6ee88452-755c-4f03-925c-df07cde6a100%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/6ee88452-755c-4f03-925c-df07cde6a100%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Baojun XuTel: +41 79 791 78 99
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/6ee88452-755c-4f03-925c-df07cde6a100%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Baojun XuTel: +41 79 791 78 99
--Baojun XuTel: +41 79 791 78 99SolidusLink AGRütistrasse 168952 Schlieren
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/604c1501-92ac-436f-a0fb-45d6277eed54%40googlegroups.com.
const string host = "35.240.160.100";const int port = 443;string caCertPem = File.ReadAllText("Certs\\ca.cer");
var sslCredentials = new SslCredentials(caCertPem);
var channel = new Channel(host, port, sslCredentials);To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/6ee88452-755c-4f03-925c-df07cde6a100%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Baojun XuTel: +41 79 791 78 99
--Baojun XuTel: +41 79 791 78 99SolidusLink AGRütistrasse 168952 Schlieren
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/6ee88452-755c-4f03-925c-df07cde6a100%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Baojun XuTel: +41 79 791 78 99
--Baojun XuTel: +41 79 791 78 99SolidusLink AGRütistrasse 168952 Schlieren
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/6ee88452-755c-4f03-925c-df07cde6a100%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Baojun XuTel: +41 79 791 78 99
--Baojun XuTel: +41 79 791 78 99SolidusLink AGRütistrasse 168952 Schlieren
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/604c1501-92ac-436f-a0fb-45d6277eed54%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/6e7d6706-39be-4987-a29d-5ee2382a07d3%40googlegroups.com.
set ipAddress=[GCE VM IP Address]set subject=/O=DokuMate/OU=Servers/CN=%ipAddress%set subjectAltNameConfig=subjectAltName = IP:%ipAddress%echo %subjectAltNameConfig% > extfile.cfg
openssl req -newkey rsa:2048 -keyout Certs\nginx.key -nodes -out Certs\Requests\nginx.csr -subj "%subject%" -addext "%subjectAltNameConfig%"
openssl x509 -req -extfile extfile.cfg -in Certs\Requests\nginx.csr -CA Certs\ca.cer -CAkey Certs\ca.key -passin pass:1111 -days 365 -set_serial 01 -out Certs\nginx.crt
Certificate: Data: Version: 3 (0x2) Serial Number: 1 (0x1) Signature Algorithm: sha256WithRSAEncryption Issuer: DC = com, DC = dokumate, CN = DokuMate Root CA Validity Not Before: Apr 3 10:59:23 2020 GMT Not After : Apr 3 10:59:23 2021 GMT Subject: O = DokuMate, OU = Servers, CN = [GCE VM IP Address] Subject Public Key Info: Public Key Algorithm: rsaEncryption RSA Public-Key: (2048 bit) Modulus: [Bytes removed] Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Alternative Name: IP Address:[GCE VM IP Address] Signature Algorithm: sha256WithRSAEncryption [Bytes removed]
const string host = "[GCE VM IP Address]";const int port = 443;
string caCertPem = File.ReadAllText("Certs\\ca.cer");
string clientCertPem = File.ReadAllText("Certs\\client.cer");string clientKeyPem = File.ReadAllText("Certs\\client.key");var keyCertificatePair = new KeyCertificatePair(clientCertPem, clientKeyPem);
var sslCredentials = new SslCredentials(caCertPem, keyCertificatePair);
var channel = new Channel(host, port, sslCredentials);To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/6ee88452-755c-4f03-925c-df07cde6a100%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Baojun XuTel: +41 79 791 78 99
--Baojun XuTel: +41 79 791 78 99SolidusLink AGRütistrasse 168952 Schlieren
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/604c1501-92ac-436f-a0fb-45d6277eed54%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/6ee88452-755c-4f03-925c-df07cde6a100%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Baojun XuTel: +41 79 791 78 99
--Baojun XuTel: +41 79 791 78 99SolidusLink AGRütistrasse 168952 Schlieren
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/604c1501-92ac-436f-a0fb-45d6277eed54%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/6e7d6706-39be-4987-a29d-5ee2382a07d3%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/880489c7-9547-4d85-ac1e-7918e3f3ac83%40googlegroups.com.