Skip to content

Instantly share code, notes, and snippets.

@vigneshragupathy
Created November 30, 2019 08:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vigneshragupathy/6c3e4bac05d0aa902aaf10d5879341a1 to your computer and use it in GitHub Desktop.
Save vigneshragupathy/6c3e4bac05d0aa902aaf10d5879341a1 to your computer and use it in GitHub Desktop.
[ req ]
default_bits = 2048
prompt = no
default_md = sha256
req_extensions = req_ext
distinguished_name = dn
[ dn ]
C = IN
ST = Karnataka
L = Bangalore
O = Vikki
OU = Vikki
CN = 10.0.0.1
[ req_ext ]
subjectAltName = @alt_names
[ alt_names ]
DNS.1 = kubernetes
DNS.2 = kubernetes.default
DNS.3 = kubernetes.default.svc
DNS.4 = kubernetes.default.svc.cluster
DNS.5 = kubernetes.default.svc.cluster.local
IP.1 = 10.0.0.1
IP.2 = 127.0.0.1
[ v3_ext ]
authorityKeyIdentifier=keyid,issuer:always
basicConstraints=CA:FALSE
keyUsage=keyEncipherment,dataEncipherment
extendedKeyUsage=serverAuth,clientAuth
subjectAltName=@alt_names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment