Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st. We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here. Need help or have questions? Drop us a line at [email protected]
@pavanshettyg5 The TLS implementation for NiFi requires proper configuration of both keystore and truststore your organization's signed certificate with SAN entries to enable secure HTTPS access. Based on your description, you've received a signed certificate (nifi.crt) but are experiencing issues with the complete TLS setup. Required Certificates & Files
Certificate Authority (CA) Certificate: The root certificate from your signing authority
Truststore: Contains the Certificate Authority (CA) root/intermediate certificates that signed your NiFi certificate (for mutual TLS or cluster communication).
Signed Certificate (nifi.crt): Your domain certificate with the SAN entries
Private Key: The private key used to generate the CSR
1. Prepare Certificate Files
Ensure you have:
The signed certificate (nifi.crt)
Your private key
The CA certificate (request from your CA if not available)
Problem 1: Missing Private Key or Certificate Chain
If you only havenifi.crt, youmustalso have:
Theprivate key(e.g.nifi.key) generated during the CSR process.
TheCA root/intermediate certificates(if your organization uses a private CA).
Problem 2: Improper Keystore/Truststore Format
NiFi uses Java KeyStores (JKS or PKCS12). Ensure your keystore/truststore is in the correct format.
If your organization uses OpenSSL-based tools, convert the PEM files (nifi.crt + nifi.key + CA chain) into a PKCS12/JKS keystore.
Problem 3: SAN Entries Not Recognized
Verify the SAN entries in your certificate match the NiFi node hostnames (e.g.nifinode1.x.x.net).
Useopenssl x509 -in nifi.crt -text -noout to check SANs.
3. Step-by-Step Solution
A. Prepare the Keystore
Combine Certificate and Private Key:
If you havenifi.crtandnifi.key, create a PKCS12 keystore: