Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for pem (0.47 sec)

  1. docs/debugging/inspect/main.go

    	privateKeyBlock := &pem.Block{
    		Type:  "RSA PRIVATE KEY",
    		Bytes: privateKeyBytes,
    	}
    	privatePem, err := os.Create("support_private.pem")
    	if err != nil {
    		fmt.Printf("error when create private.pem: %s n", err)
    		os.Exit(1)
    	}
    	err = pem.Encode(privatePem, privateKeyBlock)
    	if err != nil {
    		fmt.Printf("error when encode private pem: %s n", err)
    		os.Exit(1)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/api.go

    }
    
    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"`
    }
    
    type WorkloadState struct {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 25 02:16:06 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. cmd/common-main.go

    					if err != nil {
    						return tls.Certificate{}, fmt.Errorf("Unable to decrypt KES client private key as specified by the shell environment: %v", err)
    					}
    					keyBytes = pem.EncodeToMemory(&pem.Block{Type: privateKeyPEM.Type, Bytes: keyBytes})
    				}
    				certificate, err := tls.X509KeyPair(certBytes, keyBytes)
    				if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  4. cmd/test-utils_test.go

    	if err != nil {
    		return nil, nil, fmt.Errorf("Failed to create certificate: %w", err)
    	}
    
    	certOut := bytes.NewBuffer([]byte{})
    	pem.Encode(certOut, &pem.Block{Type: "CERTIFICATE", Bytes: derBytes})
    
    	keyOut := bytes.NewBuffer([]byte{})
    	pem.Encode(keyOut, pemBlockForKey(priv))
    
    	return certOut.Bytes(), keyOut.Bytes(), nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/ztunnel/configdump/testdata/dump.json

        }
      },
      "certificates": [
        {
          "identity": "spiffe://cluster.local/ns/istio-system/sa/istiod",
          "state": "Available",
          "certChain": [
            {
    Json
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload.go

    	if err != nil {
    		return fmt.Errorf("configmap %s was not found in namespace %s: %v", controller.CACertNamespaceConfigMap, wg.Namespace, err)
    	}
    	if err = os.WriteFile(filepath.Join(dir, "root-cert.pem"), []byte(rootCert.Data[constants.CACertNamespaceConfigMapDataName]), filePerms); err != nil {
    		return err
    	}
    
    	serviceAccount := wg.Spec.Template.ServiceAccount
    	tokenPath := filepath.Join(dir, "istio-token")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	crand "crypto/rand"
    	"crypto/rsa"
    	"crypto/subtle"
    	"crypto/x509"
    	"encoding/base64"
    	"encoding/json"
    	"encoding/pem"
    	"errors"
    	"fmt"
    	"hash/crc32"
    	"io"
    	"math"
    	"net/http"
    	"net/url"
    	"os"
    	"path"
    	"path/filepath"
    	"regexp"
    	"runtime"
    	"sort"
    	"strconv"
    	"strings"
    	"sync/atomic"
    	"time"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  8. helm-releases/minio-5.2.0.tgz

    MINIO_ETCD_ENDPOINTS value: {{ join "," .Values.etcd.endpoints | quote }} {{- if .Values.etcd.clientCert }} - name: MINIO_ETCD_CLIENT_CERT value: "/tmp/credentials/etcd_client_cert.pem" {{- end }} {{- if .Values.etcd.clientCertKey }} - name: MINIO_ETCD_CLIENT_CERT_KEY value: "/tmp/credentials/etcd_client_cert_key.pem" {{- end }} {{- if .Values.etcd.pathPrefix }} - name: MINIO_ETCD_PATH_PREFIX value: {{ .Values.etcd.pathPrefix }} {{- end }} {{- if .Values.etcd.corednsPathPrefix }} - name: MINIO_ETCD_COREDNS_PATH...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 21.7K bytes
    - Viewed (0)
Back to top