Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for caCertFile (0.28 sec)

  1. pilot/pkg/bootstrap/istio_ca.go

    		if certSignerDomain == "" {
    			log.Infof("CA cert file %q not found, using %q.", caCertFile, defaultCACertPath)
    			caCertFile = defaultCACertPath
    		} else {
    			log.Infof("CA cert file %q not found - ignoring.", caCertFile)
    			caCertFile = ""
    		}
    	}
    
    	if s.kubeClient == nil {
    		return nil, fmt.Errorf("kubeClient is nil")
    	}
    	raOpts := &ra.IstioRAOptions{
    		ExternalCAType:   opts.ExternalCAType,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. tests/integration/ambient/cacert_rotation_test.go

    	}
    
    	return nil
    }
    
    func getX509FromFile(t framework.TestContext, caCertFile string) *x509.Certificate {
    	certBytes, err := cert.ReadSampleCertFromFile(caCertFile)
    	if err != nil {
    		t.Errorf("failed to read %s file: %v", caCertFile, err)
    	}
    	return parseCert(t, certBytes)
    }
    
    func parseCert(t framework.TestContext, certBytes []byte) *x509.Certificate {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. pilot/pkg/bootstrap/options.go

    	// Directory of injection related config files.
    	InjectionDirectory string
    }
    
    // TLSOptions is optional TLS parameters for Istiod server.
    type TLSOptions struct {
    	// CaCertFile and related are set using CLI flags.
    	CaCertFile      string
    	CertFile        string
    	KeyFile         string
    	TLSCipherSuites []string
    	CipherSuits     []uint16 // This is the parsed cipher suites
    }
    
    var (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. pilot/cmd/pilot-discovery/app/cmd.go

    		"Enable profiling via web interface host:port/debug/pprof")
    
    	// Use TLS certificates if provided.
    	c.PersistentFlags().StringVar(&serverArgs.ServerOptions.TLSOptions.CaCertFile, "caCertFile", "",
    		"File containing the x509 Server CA Certificate")
    	c.PersistentFlags().StringVar(&serverArgs.ServerOptions.TLSOptions.CertFile, "tlsCertFile", "",
    		"File containing the x509 Server Certificate")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. pkg/test/echo/proto/echo.pb.go

    	KeyFile  string `protobuf:"bytes,17,opt,name=keyFile,proto3" json:"keyFile,omitempty"`
    	// If non-empty, verify the server CA with the ca cert file.
    	CaCertFile string `protobuf:"bytes,18,opt,name=caCertFile,proto3" json:"caCertFile,omitempty"`
    	// Skip verifying peer's certificate.
    	InsecureSkipVerify bool `protobuf:"varint,19,opt,name=insecureSkipVerify,proto3" json:"insecureSkipVerify,omitempty"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 02:27:10 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  6. pilot/pkg/bootstrap/certcontroller.go

    func (s *Server) initFileCertificateWatches(tlsOptions TLSOptions) error {
    	if err := s.istiodCertBundleWatcher.SetFromFilesAndNotify(tlsOptions.KeyFile, tlsOptions.CertFile, tlsOptions.CaCertFile); err != nil {
    		return fmt.Errorf("set keyCertBundle failed: %v", err)
    	}
    	// TODO: Setup watcher for root and restart server if it changes.
    	for _, file := range []string{tlsOptions.CertFile, tlsOptions.KeyFile} {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. pilot/pkg/bootstrap/server_test.go

    			FSCertsPaths: TLSFSLoadPaths{tlsArgcertFile, tlsArgkeyFile, tlsArgcaCertFile},
    			tlsOptions: &TLSOptions{
    				CertFile:   tlsArgcertFile,
    				KeyFile:    tlsArgkeyFile,
    				CaCertFile: tlsArgcaCertFile,
    			},
    			enableCA:                  false,
    			certProvider:              constants.CertProviderKubernetes,
    			expNewCert:                false,
    			expCert:                   testcerts.ServerCert,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. tests/integration/security/file_mounted_certs/main_test.go

        k8s:
          overlays:
            - kind: Deployment
              name: istiod
              patches:
                - path: spec.template.spec.containers.[name:discovery].args[1001]
                  value: "--caCertFile=/server-certs/root-cert.pem"
                - path: spec.template.spec.containers.[name:discovery].args[1002]
                  value: "--tlsCertFile=/server-certs/cert-chain.pem"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. pilot/pkg/bootstrap/server.go

    		// Use the DNS certificate provided via args or in well known location.
    		err = s.initFileCertificateWatches(TLSOptions{
    			CaCertFile: caCertPath,
    			KeyFile:    tlsKeyPath,
    			CertFile:   tlsCertPath,
    		})
    		if err != nil {
    			// Not crashing istiod - This typically happens if certs are missing and in tests.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  10. tests/integration/telemetry/api/stats_test.go

    							HTTP: echo.HTTP{
    								Path: "/metrics",
    							},
    							TLS: echo.TLS{
    								CertFile:           "/etc/certs/custom/cert-chain.pem",
    								KeyFile:            "/etc/certs/custom/key.pem",
    								CaCertFile:         "/etc/certs/custom/root-cert.pem",
    								InsecureSkipVerify: true,
    							},
    						})
    					}
    				})
    		})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top