When the Flexera Kubernetes inventory agent is configured for HTTPS protocol, it uses the standard bundle of trusted Certificate Authorities (CA) as distributed by Mozilla. However, if the beacon server's upload endpoint certificate is signed by an unrecognized authority internal to your organization, it won't be validated, causing an SSL error.
If you are having SSL issues with the Flexera Kubernetes inventory agent, you can look at the uploader log using the following Kubernetes agent command:
kubectl exec -n flexera krm-instance-monitor-0 -- cat /var/opt/managesoft/log/uploader.log
The uploader logs will show the following information if your CA is not validated:
Uploading file 'k8s-inventory-12345678-20221026T131026.ndi' to
'https://myorg.beacon.com/ManageSoftRL/Inventories'
Error 0xE1BBFC14: OpenSSL error 0xFC14: unable to get local issuer certificate
Error 0xE050044D: Failed to create remote directory /ManageSoftRL
Error 0xE0690099: Specified remote directory is invalid, or could not be created
ERROR: Remote directory is invalid
Generally, in this scenario, you can copy the CA certificates that you want to be validated by the beacon to /var/opt/managesoft/etc/ssl/cert.pem, but another approach must used with the Flexera Kubernetes inventory agent. Follow the steps below to allow validation of custom CA certificates.
Use custom CA Certificates with the Flexera Kubernetes inventory agent
- Verify you have at least version 1.3.0 of the Flexera Kubernetes inventory agent installed. You can use the following command to check for the version:
kubectl get deployments --namespace flexera
- Prepare a single certificate file that combines all required client-side certificates for validating the server-side certificates. This must be named: cert.pem
- Save the certificate file in a volume that will be mounted into the containers where the Flexera Kubernetes inventory agent will operate. Use the following command as an example:
kubectl create secret generic myorg-certificates
--namespace flexera --from-file=cert.pem - Configure the YAML file referencing the volume using the spec.monitor.tlsFiles attribute. For example:
apiVersion: agents.flexera.com/v1 kind: KRM spec: monitor: tlsFiles: secret: secretName: myorg-certificates
For more details, see Supporting Custom Certificates for HTTPS in the IT Asset Management Online Help.
Related Articles
Certificate revocation issues while using the Flexera Kubernetes inventory agent 17Number of Views Enable debug level logging for Flexera Kubernetes Inventory Agent 41Number of Views Flexera Kubernetes Inventory Agent may crash if map read and map writes occur concurrently 4Number of Views Flexera Kubernetes inventory agent monitor pod stuck in pending state due to unbound immediate PVC allocation 11Number of Views Configure CheckCertificateRevocation and CheckServerCertificate during Flexera Kubernetes Agent Helm chart installation 92Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago