apiserverk8s.io/apiserver/pkg/storage/etcd3/testing/testingcert Index | Files

package testingcert

import "k8s.io/apiserver/pkg/storage/etcd3/testing/testingcert"

Index

Constants

const CAFileContent = "" /* 1561 byte string literal not displayed */

You can use cfssl tool to generate certificates, please refer https://github.com/etcd-io/etcd/tree/main/hack/tls-setup for more details.

ca-config.json:

expiry was changed from 1 year to 100 years (876000h)

ca-csr.json:

ca expiry was set to 100 years (876000h) ("ca":{"expiry":"876000h"})
key was changed from ecdsa,384 to rsa,2048

req-csr.json:

key was changed from ecdsa,384 to rsa,2048
hosts were changed to "localhost","127.0.0.1"
const CertFileContent = "" /* 1516 byte string literal not displayed */
const KeyFileContent = "" /* 1682 byte string literal not displayed */

Source Files

certificates.go

Version
v0.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Last checked
7 hours ago

Tools for package owners.