You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Cezar Caleap (Jira)" <ji...@apache.org> on 2022/08/10 08:36:00 UTC

[jira] [Created] (NIFI-10337) Certificate PKIX Path issue while using PutGCSObject

Cezar Caleap created NIFI-10337:
-----------------------------------

             Summary: Certificate PKIX Path issue while using PutGCSObject
                 Key: NIFI-10337
                 URL: https://issues.apache.org/jira/browse/NIFI-10337
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.16.2
         Environment: openjdk-8-8u342-b07-0ubuntu1~18.04
            Reporter: Cezar Caleap


We are trying to put data on a GCS bucket via PutGCSObject.

We have configured the GCPCredentialServices with the proper service account json details but we are still facing PKIX path issues :
Error getting access token for service account: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target, iss: [user@projectid.iam.gserviceaccount.com.|mailto:user@projectid.iam.gserviceaccount.com.]
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

What java version is required to run this PutGCSObject ?
Do we require any specific certificate to be added to java truststore ?
Can somebody help me with the URL PutGCSObject is using to send the data so that I can confirm if the certificate is part of the java truststore ?
Any other guidance is welcomed :)


Many thanks in advance for your support.

 

Best Regards,

Cezar



--
This message was sent by Atlassian Jira
(v8.20.10#820010)