internal/website/docs/TLS_SECURITY_UPDATE.md
The TLS configuration in go-micro now includes a security deprecation warning.
Default: TLS certificate verification is disabled for backward compatibility
Why: Changing the default to secure would be a breaking change that could disrupt:
export MICRO_TLS_SECURE=true
import (
"go-micro.dev/v5/broker"
mls "go-micro.dev/v5/util/tls"
)
broker := broker.NewHttpBroker(
broker.TLSConfig(mls.SecureConfig()),
)
MICRO_TLS_SECURE=trueThis addresses the concerns raised about:
See SECURITY_MIGRATION.md for detailed migration guide.
For production deployments:
MICRO_TLS_SECURE=true in stagingOpen an issue on GitHub or check the documentation at https://go-micro.dev/docs/