Registry / networking / tailscale-tscert

tailscale-tscert

JSON →
library0.0.0-20251216020129-aea342f6d747gogounverified

Fetches HTTPS certificates from the local Tailscale daemon (tailscaled).

go get github.com/tailscale/tscert
INSTALL
IMPORT
SIG · TAILSCALE-TSCERT
T
tailscale-tscert
networkinggov0.0.0-20251216020129-aea342f6d747
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

tscert
github.com/tailscale/tscert

Get a TLS certificate for a Tailscale hostname

package main import ( "fmt" "github.com/tailscale/tscert" ) func main() { cert, key, err := tscert.GetCertificate("example.ts.net") if err != nil { panic(err) } fmt.Printf("Cert: %s\nKey: %s\n", cert, key) }
Debug
Known issues
gotchaRequires running tailscaled on the same machine
fix
Ensure tailscaled is running and accessible
affects: >=0.0.0
Upgrade
Version history
0.0.0-20251216020129-aea342f6d747latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
26
Amazon
1
OpenAI (training)
1
Resources
tailscale-tscert — go get tailscale-tscert · libregistry