PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
/vcf-log-forwarder/log/log-forwarder.logError while fetching and applying log collection configurations.
com.vmware.loginsight.logcollection.config.exception.ConfigurationFetchingException: Failed to retrieve configurations: Unauthorized - Please verify credentials.
root usercurl --request POST \
--url https://<VCF-OPS-LOGS-PRIMARY-IP_FQDN>:9543/api/v2/sessions \
--header 'content-type: application/json' \
--data '{
"username": "<USERNAME>",
"password": "<PASSWORD>",
"provider": "Local"
}' \
-k
admin credentials. Copy the sessionId value from the returned JSON output. This will be used in the next step.curl --request PUT \
--url https://<VCF-OPS-LOGS-PRIMARY-IP_FQDN>:9543/api/v2/internal/log-forwarder-credentials \
--header 'Authorization: Bearer <LOGS-SESSION-ID>' \
--header 'Content-Type: application/json' \
--data '{
"credentials": [
{
"opsProxyId": "<CLOUD_PROXY_ID>"
}
]
}' \
-k
root user.docker restart vcf-log-forwarder
Step 4: Restart the VCF Operations for Logs nodes
- Reboot all the nodes of VCF Operations for Logs cluster from the vCenter Server.
Note: Status change to "Active" in the Log Collection UI might take a while to reflect.