Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for GetCert (0.06 sec)

  1. internal/http/server_test.go

    		{[]string{nonLoopBackIP + ":9000"}, handler, nil},
    		{[]string{"127.0.0.1:9000", nonLoopBackIP + ":9000"}, handler, nil},
    		{[]string{"127.0.0.1:9000"}, handler, getCert},
    		{[]string{nonLoopBackIP + ":9000"}, handler, getCert},
    		{[]string{"127.0.0.1:9000", nonLoopBackIP + ":9000"}, handler, getCert},
    	}
    
    	for i, testCase := range testCases {
    		server := NewServer(testCase.addrs).
    			UseHandler(testCase.handler)
    		if testCase.certFn != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 18:42:47 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. cmd/utils.go

    	logger.AuditLog(ctx, nil, nil, nil)
    }
    
    func newTLSConfig(getCert certs.GetCertificateFunc) *tls.Config {
    	if getCert == nil {
    		return nil
    	}
    
    	tlsConfig := &tls.Config{
    		PreferServerCipherSuites: true,
    		MinVersion:               tls.VersionTLS12,
    		NextProtos:               []string{"http/1.1", "h2"},
    		GetCertificate:           getCert,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  3. cmd/server-main.go

    		}
    		if !globalEndpoints.HTTPS() && globalIsTLS {
    			logger.Fatal(config.ErrCertsAndHTTPEndpoints(nil), "Unable to start the server")
    		}
    	}
    
    	var getCert certs.GetCertificateFunc
    	if globalTLSCerts != nil {
    		getCert = globalTLSCerts.GetCertificate
    	}
    
    	// Check for updates in non-blocking manner.
    	go func() {
    		if !globalServerCtxt.Quiet && !globalInplaceUpdateDisabled {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. internal/http/listener_test.go

    import (
    	"context"
    	"crypto/tls"
    	"net"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	"github.com/minio/minio-go/v7/pkg/set"
    )
    
    var serverPort uint32 = 60000
    
    var getCert = func(*tls.ClientHelloInfo) (*tls.Certificate, error) {
    	certificate, err := getTLSCert()
    	if err != nil {
    		return nil, err
    	}
    	return &certificate, nil
    }
    
    func getTLSCert() (tls.Certificate, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.17.md

    - Fixed a bug in client-go where new clients with customized `Dial`, `Proxy`, `GetCert` config may get stale HTTP transports. ([#95427](https://github.com/kubernetes/kubernetes/pull/95427), [@roycaihw](https://github.com/roycaihw)) [SIG API Machinery]
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Jan 28 10:44:33 UTC 2021
    - 346.2K bytes
    - Viewed (1)
  6. CHANGELOG/CHANGELOG-1.20.md

    - Fixed a bug in client-go where new clients with customized `Dial`, `Proxy`, `GetCert` config may get stale HTTP transports. ([#95427](https://github.com/kubernetes/kubernetes/pull/95427), [@roycaihw](https://github.com/roycaihw)) [SIG API Machinery]
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jan 19 21:05:45 UTC 2022
    - 409K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.18.md

    - Fixed a bug in client-go where new clients with customized `Dial`, `Proxy`, `GetCert` config may get stale HTTP transports. ([#95427](https://github.com/kubernetes/kubernetes/pull/95427), [@roycaihw](https://github.com/roycaihw)) [SIG API Machinery]
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jun 16 17:18:28 UTC 2021
    - 373.2K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.19.md

    - Fixed a bug in client-go where new clients with customized `Dial`, `Proxy`, `GetCert` config may get stale HTTP transports. ([#95427](https://github.com/kubernetes/kubernetes/pull/95427), [@roycaihw](https://github.com/roycaihw)) [SIG API Machinery]
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jan 05 05:42:32 UTC 2022
    - 489.7K bytes
    - Viewed (0)
Back to top