skip to content
Alvin Lucillo

Generate cert with CA cert

/ 1 min read

To sign a CSR (Certificate Signing Request) file to generate a certificate file as a CA (Certificate Authority), you need:

  • the .csr file from the requesting org/user
  • your private key (.key) self-signed cert (.crt) files

Then provide those files in the command below to generate admin.crt

openssl x509 -req -in admin.csr -CA ca.crt -CAkey ca.key -out admin.crt

Certificate request self-signature ok
subject=CN = kube-admin