globalbioticinteractions / virjendb

VirJenDB: a central hub connecting virus researchers to publicly available virus resources, metadata and sequences. 2024. https://virjendb.org/Downloads
https://virjendb.org
0 stars 0 forks source link

ssl certificates invalid and causes transfer errors #1

Open jhpoelen opened 4 months ago

jhpoelen commented 4 months ago

Downloading csv files from https://virjendb.uni-jena.de/Downloads via curl or wget only worked when disabling certificate checking . This causes integration issues.

e.g.,

curl -I -L "https://virjendb.uni-jena.de:8000/api/vj.v0.1_bacteriophages.csv.gz" 

causes:

curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

Workaround is to:

curl\
 --insecure\
 -L\
 "https://virjendb.uni-jena.de:8000/api/vj.v0.1_bacteriophages.csv.gz"\
 > vj.v0.1_bacteriophages_virus.csv.gz
jhpoelen commented 4 months ago

fyi @Daniel-Mietchen related to https://github.com/globalbioticinteractions/globalbioticinteractions/issues/971

jhpoelen commented 4 months ago

Note that the newly introduced domain name virjendb.org also has certificate issues.

curl -I -L "https://virjendb.org:8000/api/vj.v0.1_bacteriophages.csv.gz" 
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.