Skip to content

Create CA/Issuer certificates with openssl #6819

Answered by adleong
anorm asked this question in Q&A
Discussion options

You must be logged in to vote

One thing I noticed when trying to follow the steps you took with openssl is that the certs it generates do not have the CA flag. When trying to install with these certs and the Linkerd CLI, I get the following error:

linkerd install \
  --identity-trust-anchors-file ca-ssl.crt \
  --identity-issuer-certificate-file issuer.crt \
  --identity-issuer-key-file issuer-key-ssl.pem \
  | kubectl apply -f -
Error: failed to validate issuer credentials: issuer cert is not a CA

More generally, I'd recommend following the instructions in the docs which use step. If you prefer to use openssl directly, I'd recommend comparing the openssl generated certs to the step generated ones to see exactly how …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@anorm
Comment options

@adleong
Comment options

adleong Sep 8, 2021
Collaborator

@wibed
Comment options

Answer selected by anorm
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants