Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CertChain (0.12 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 {
    			for i, ca := range secret.CertChain {
    				t := "Intermediate"
    				if i == 0 {
    					t = "Leaf"
    				} else if i == len(secret.CertChain)-1 {
    					t = "Root"
    				}
    				n := new(big.Int)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Apr 25 16:38:16 UTC 2024
    - 3.2K 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"`
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 30 17:26:39 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. 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",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top