Symptom
After you upgrade to Cribl Stream 4.18.2, a warning appears next to the certificate and private key path fields in TLS settings.
The warning text is:
Path must start with $CRIBL_HOME (for example, $CRIBL_HOME/certs/my.pem).
It appears even when the path uses the documented $CRIBL_CLOUD_KEY and $CRIBL_CLOUD_CRT variables on Cribl-managed Cloud Worker Groups. TLS continues to work.
Environment
- Cribl Stream 4.18.2
- TLS settings of Sources and Destinations, and Worker Group settings
- Cribl-managed Cloud Worker Groups using
$CRIBL_CLOUD_KEYand$CRIBL_CLOUD_CRT, or hybrid Worker Groups using hard-coded absolute paths
Resolution
The warning is cosmetic. It does not indicate an issue with the active TLS configuration.
- Keep the existing TLS settings if TLS works. No configuration change is required for this warning.
- Upgrade to Cribl Stream 4.19.0 or later to stop the warning for
$CRIBL_CLOUD_KEYand$CRIBL_CLOUD_CRT. - Optional: Configure certificate paths with an environment variable such as
$CRIBL_HOMEinstead of hard-coded absolute paths, which are less portable.
Note: In 4.19.0, a hard-coded absolute path such as /etc/cribl/certs/my.pem still displays a warning.
Cause
The TLS path validation in 4.18.2 expects paths to start with $CRIBL_HOME.
Additional Information
For more information, see Cribl.Cloud Certificate Variables in Cribl Docs.
