Skip to content

Commit 5c7eac6

Browse files
authored
Allow TLS v1.2 (#16774)
1 parent 57e4149 commit 5c7eac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/supervisor/pkg/serverapi/publicapi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ func (s *Service) tryConnToPublicAPI(ctx context.Context) {
141141
endpoint := fmt.Sprintf("api.%s:443", s.cfg.Host)
142142
log.WithField("endpoint", endpoint).Info("connecting to PublicAPI...")
143143
opts := []grpc.DialOption{
144-
grpc.WithTransportCredentials(credentials.NewTLS(&tls.Config{MinVersion: tls.VersionTLS13})),
144+
grpc.WithTransportCredentials(credentials.NewTLS(&tls.Config{MinVersion: tls.VersionTLS12})),
145145
grpc.WithStreamInterceptor(grpc_middleware.ChainStreamClient([]grpc.StreamClientInterceptor{
146146
s.publicApiMetrics.StreamClientInterceptor(),
147147
func(ctx context.Context, desc *grpc.StreamDesc, cc *grpc.ClientConn, method string, streamer grpc.Streamer, opts ...grpc.CallOption) (grpc.ClientStream, error) {

0 commit comments

Comments
 (0)