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
This applies to localhost, Docker, OrbStack, and other local environments running without TLS.
47
+
48
+
### SpiceDB running with TLS using self-signed certificates
49
+
50
+
If SpiceDB is running with TLS but using a self-signed or untrusted certificate:
51
+
52
+
<Tabsitems={['Node', 'Go']}>
53
+
<Tabs.Tab>
54
+
`v1.ClientSecurity.INSECURE_LOCALHOST_ALLOWED` (allows localhost connections without CA verification)
55
+
</Tabs.Tab>
56
+
<Tabs.Tab>
57
+
Load the self-signed CA explicitly with `grpcutil.WithCustomCerts()` or use `grpc.WithTransportCredentials(credentials.NewTLS(&tls.Config{InsecureSkipVerify: true}))` for localhost only (not recommended for production)
58
+
</Tabs.Tab>
59
+
</Tabs>
60
+
61
+
See the [Protecting a Blog Application](./protecting-a-blog#checking-permissions) tutorial for examples.
62
+
19
63
## HTTP Clients
20
64
21
65
SpiceDB exposes an HTTP API when run with the `--http-enabled` flag.
0 commit comments