Skip to content

Pre-generating all certificates before installation - no CA key #7150

Closed Answered by brandond
dtremblay asked this question in Q&A
Discussion options

You must be logged in to vote

It is not possible to generate ALL certificates before installation. RKE2 internally generates certificates for nodes and cluster components on demand, so it must act as a CA. You can use an existing root and intermediate CA that you do not have keys for, but you must provide the servers with CA certs and keys as described in the docs: https://docs.rke2.io/security/certificates#using-custom-ca-certificates

If you want to use only an existing root CA certificate, provide the following files:

  • root-ca.pem
  • root-ca.key

If you want to use existing root and intermediate CA certificates, provide the following files:

  • root-ca.pem
  • intermediate-ca.pem
  • intermediate-ca.key

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dtremblay
Comment options

Answer selected by dtremblay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants