Hi Ross,

Thanks for the input., Still we are struggling to solve this issue. In this
case solr will connect to the GCS bucket in the backend to backup the data,
how can I get the SSL Key of google cloud storage?
Sathish Ponnusamy

Chennai
m: + 91 9962331981



On Sun, Aug 11, 2024 at 3:58 AM Ross Merrifield <rosswmerrifi...@gmail.com>
wrote:

> Haven't seen this particular issue, but from the error msg it seems like
> you need to import the remote end's SSL key into your JDK's keystore.
>
> There's lots of guides online showing how to do this e.g.
> https://www.java-samples.com/showtutorial.php?tutorialid=210
>
> Ross
>
> On Fri, Aug 9, 2024 at 11:57 PM Sathish Ponnusamy <sathishrp...@gmail.com>
> wrote:
>
> > Hi, Just checking again if anyone came across below issue?
> >
> > Regards
> > Sathish P
> >
> > On Wed, 7 Aug, 2024, 23:15 Sathish Ponnusamy, <sathishrp...@gmail.com>
> > wrote:
> >
> > >
> > > We have 3+3 solr/zk node setup in GCP environment with SSL enabled.
> While
> > > trying to backup the collection in the GCS bucket we are facing the
> below
> > > issue. Please find the steps for the same. How to resolve the PKIX
> error
> > > for the Solr Backup API?
> > > *Setup:*
> > >
> > >    - Solr is enabled with SSL
> > >    - Backup repo is set GCS Bucket
> > >    - GCP VM GCP Cloud Storage both are in the same GCP project. The VM
> SA
> > >    account has storage object admin permissions.
> > >
> > > *Steps:*
> > >
> > >
> > >
> > > Step -1- Perform the backup using the backup API
> > >
> > >
> >
> http*s*://{{hostname}}/solr/admin/collections?action=BACKUP&name=COLLECTION_NAME
> > > _bkup&collection= COLLECTION_NAME &location=solr_backup&async=1000
> > >
> > >
> > >
> > > Step – 2: Check the  status of the backup
> > >
> > >               https://{{hostname}}
> > > /solr/admin/collections?action=REQUESTSTATUS&requestid=1000
> > >
> > >
> > >
> > > *Getting below error*
> > >
> > > {
> > >
> > >     "responseHeader": {
> > >
> > >         "status": 0,
> > >
> > >         "QTime": 2
> > >
> > >     },
> > >
> > >     "Operation backup caused exception:":
> > "com.google.cloud.storage.StorageException:com.google
> > .cloud.storage.StorageException:
> > > PKIX path building failed:
> > > sun.security.provider.certpath.SunCertPathBuilderException: unable to
> > find
> > > valid certification path to requested target",
> > >
> > >     "exception": {
> > >
> > >         "msg": "PKIX path building failed:
> > > sun.security.provider.certpath.SunCertPathBuilderException: unable to
> > find
> > > valid certification path to requested target",
> > >
> > >         "rspCode": -1
> > >
> > >     },
> > >
> > >     "status": {
> > >
> > >         "state": "failed",
> > >
> > >         "msg": "found [1000] in failed tasks"
> > >
> > >     }
> > >
> > > }
> > >
> > >
> > > Regards
> > > Sathish Ponnusamy
> > >
> > >
> >
>

Reply via email to