HTTPS: unable to get local issuer certificate

Hello,

I'm trying to download the content of an object from Google Cloud Storage, using reqwest while adding as authentication a bearer token using google-cloud-auth, but I'm getting this error:

Reqwest: error sending request for url (https://storage.googleapis.com/fc-adaae650-a458-4c56-8a55-d96fa463a5c6/b9d0bb48-bddd-4f38-960a-31136f0fce1a/w/677a54e8-706b-4936-a3e5-0ec93b64d0e8/call-runVcf/shard-0/freeze.5b.chr1.phased.pass.minDP0.remDuplicates.vcf.bgz): error trying to connect: error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:../ssl/statem/statem_clnt.c:1883: (unable to get local issuer certificate): [unknown error type]: error trying to connect: error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:../ssl/statem/statem_clnt.c:1883: (unable to get local issuer certificate): [unknown error type]: error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:../ssl/statem/statem_clnt.c:1883: (unable to get local issuer certificate): [unknown error type]: error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:../ssl/statem/statem_clnt.c:1883:

Any ideas what this means or how to fix this? Thanks!

Best, Oliver

2 Likes

Linux?

Yes, Ubuntu 22.04.

VPN?

If "yes", this may be the culprit.

The keyword from your post was error:0A000086

I found that the solution is to install the ca-certificates package.

6 Likes

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.