skip to content
Alvin Lucillo

Setting up self-signed CA

/ 1 min read

To set up your own self-signed CA, you need these files generated:

  1. RSA private key (admin.key) openssl genrsa -out admin.key 2048

  2. Certificate Signing Request (admin.csr) openssl req -new -key admin.key -subj "/CN=kube-admin" -out admin.csr

  3. Self-signed certificate/root CA certificate (ca.crt) openssl x509 -req -in ca.csr -signkey ca.key -out ca.crt