You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Snap supports TLS for GRPC plugins. Referring to [secure plugin communication](https://github.com/intelsdi-x/snap/blob/master/docs/SECURE_PLUGIN_COMMUNICATION.md) for details. How to setup TLS on both server and client? The [Setup TLS Certificates](https://github.com/intelsdi-x/snap/blob/master/docs/SETUP_TLS_CERTIFICATES.md) has everything.
307
+
308
+
#### Sample Use Cases
309
+
310
+
| Flag | Description |
311
+
| ------ | ------ |
312
+
| tls-cert | TLS client certificate |
313
+
| tls-key | TLS client private key |
314
+
| ca-cert-paths | TLS client CA certificates |
315
+
| plugin-cert | TLS server certificate |
316
+
| plugin-key | TLS server private key |
317
+
| plugin-ca-certs | TLS server CA certificates |
318
+
319
+
##### Case 1: Start `snapteld` with TLS certs
320
+
321
+
Snap is a client for all GRPC plugins. Note that Snap loads CA certificates from your OS certificate trust store if it's not specified.
> :collision: Urgh! HTTPS does not have a trusted CA. There is no way to specify a CA using a flag for HTTPS currently. Putting the trusted CA in your OS trust store in production. Using --insecure flag for your testing convenience.
0 commit comments