Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to import nifi registry self-signed certificate to nifi cluster #262

Open
Demcheck opened this issue May 4, 2023 · 1 comment
Open

Comments

@Demcheck
Copy link

Demcheck commented May 4, 2023

Type of question

General Context

Support question

Hello everyone!
I wanna connect my new nifi cluster provisioned by nifikop with NifI Registry.
But registry use self-signed certificate and I need import it to trustore generated by Cert-Manager.
How can I do it?

NiFiKop version

No response

Golang version

No response

Kubernetes version

No response

NiFi version

No response

@mh013370
Copy link
Member

mh013370 commented May 4, 2023

If you insist on using self-signed certs, I would recommend using a common CA to sign the certs for Registry and NiFi. For example, create a self-signer CA independently of nifikop and Registry:

https://cert-manager.io/docs/configuration/selfsigned/

And then in nifikop you can configure SSLSecrets with an issuerRef to tell nifikop which CA to have sign the certs for each nifi pod. You would point to the CA you created above.
https://konpyutaika.github.io/nifikop/docs/5_references/1_nifi_cluster/6_listeners_config#sslsecrets

I'm not sure how you're deploying Registry - can you control which CA signs its certs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants