crypto/tls package
Canonical docs for Go TLS configuration, certificates, handshake behavior, and HTTPS-related transport settings.
Canonical docs for Go TLS configuration, certificates, handshake behavior, and HTTPS-related transport settings.
- Author: Go Team
- Authority: primary
- Kind: package-doc
- URL: https://pkg.go.dev/crypto/tls
What it covers
- TLS server and client configuration
- certificate loading
- protocol and handshake settings
Why authoritative
Official package documentation for Go’s TLS implementation.
Use when
- how should I configure TLS in Go
- what TLS settings matter for a Go server
- how do Go HTTPS and certificates work
Keywords
- crypto/tls, TLS, HTTPS, certificates, MinVersion