Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CertChain (0.26 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    			secret.State = "Unavailable"
    		}
    		if len(secret.CertChain) == 0 {
    			fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%v\t%v\n",
    				secret.Identity, valueOrNA(""), secret.State, false, valueOrNA(""), valueOrNA(""), valueOrNA(""))
    		} else {
    			// get the CA value and remove it from the cert chain slice so it's not printed twice
    			ca := secret.CertChain[0]
    			secret.CertChain = secret.CertChain[1:]
    			n := new(big.Int)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/api.go

    	WorkloadState map[string]WorkloadState    `json:"workloadState"`
    }
    
    type CertsDump struct {
    	Identity  string  `json:"identity"`
    	State     string  `json:"state"`
    	CertChain []*Cert `json:"certChain"`
    }
    
    type Cert struct {
    	Pem            string `json:"pem"`
    	SerialNumber   string `json:"serialNumber"`
    	ValidFrom      string `json:"validFrom"`
    	ExpirationTime string `json:"expirationTime"`
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  3. istioctl/pkg/util/configdump/workload.go

    	Certificates []*CertsDump                `json:"certificates"`
    }
    
    type CertsDump struct {
    	Identity  string  `json:"identity"`
    	State     string  `json:"state"`
    	CertChain []*Cert `json:"cert_chain"`
    }
    
    type Cert struct {
    	Pem            string `json:"pem"`
    	SerialNumber   string `json:"serial_number"`
    	ValidFrom      string `json:"valid_from"`
    Go
    - Registered: Wed Apr 10 22:53:08 GMT 2024
    - Last Modified: Fri Mar 22 16:24:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/testdata/dump.json

        {
          "identity": "spiffe://cluster.local/ns/istio-system/sa/ztunnel",
          "state": "Initializing",
          "certChain": []
        },
        {
          "identity": "spiffe://cluster.local/ns/istio-system/sa/another-sa",
          "state": "Unavailable: the identity is no longer needed",
          "certChain": []
        },
        {
          "identity": "spiffe://cluster.local/ns/istio-system/sa/istiod",
    Json
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top