Bug 1075030 - Unable to get local issuer certificate when adding Java repo
Unable to get local issuer certificate when adding Java repo
Status: RESOLVED INVALID
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Java
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: E-mail List
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-08 14:56 UTC by Abel Navarro
Modified: 2018-01-09 10:03 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Abel Navarro 2018-01-08 14:56:04 UTC
I'm trying to install some Java related packages (gradle) on OpenSUSE Tumbleweed. For that I'm adding the Java repo as recommended here:

https://software.opensuse.org/download.html?project=Java%3Apackages&package=gradle

I follow the manual steps to add the Java repo but get an error when adding it:

$ sudo zypper addrepo https://download.opensuse.org/repositories/Java:packages/openSUSE_Tumbleweed/Java:packages.repo
Download (curl) error for 'https://download.opensuse.org/repositories/Java:packages/openSUSE_Tumbleweed/Java:packages.repo':
Error code: Curl error 60
Error message: SSL certificate problem: unable to get local issuer certificate

Abort, retry, ignore? [a/r/i/...? shows all options] (a):
Abort, retry, ignore? [a/r/i/...? shows all options] (a):
Problem encountered while trying to read the file at the specified URI:
ABORT request: Aborting requested by user

If I manually try to access the Java files in the repo I can see them all there. I cannot access though repomd.xml.key from the repo (reports an error):

http://download.opensuse.org/repositories/Java:/packages/openSUSE_Tumbleweed/repodata/repomd.xml.key

This page contains the following errors:
error on line 1 at column 1: Document is empty
Below is a rendering of the page up to the first error.

I can get the file though through some other mirrors. This one seems to be working: 

http://mirror.tspu.ru/opensuse/repositories/Java:/packages/openSUSE_Tumbleweed/repodata/repomd.xml.key
Comment 1 Abel Navarro 2018-01-09 10:03:57 UTC
runnig a 'zypper dup' got 'ca_certificates' installed and the problem was solved.