IBM / ibmi-oss-issues

Important resources for anyone interested in open source on IBM i
Creative Commons Zero v1.0 Universal
13 stars 0 forks source link

Private RPM Repo Issue #8

Closed ceetonice closed 1 year ago

ceetonice commented 2 years ago

I'm in the process of setting up a private RPM Repo. The private repo is hosted on Linux. I’m able to connect with no issues if I use a browser. When I connect with our IBMi box I get an error: [Errno 14] curl#60 - "SSL certificate problem: unable to get local issuer certificate"

Any help would be appreciated, Thanks!

yum

kadler commented 2 years ago

You will need to add the CA certificate that signed the certificate used by the webserver serving your repo.

Put your certificate in /QOpenSys/pkgs/share/pki/trust and run update-ca-certificates.

ceetonice commented 2 years ago

Hi,

Sorry for the late response, I was on vacation.

I do not have a pki directory. Should I create pki and trust directories? Also my IBMi is on V7R4

ThePrez commented 2 years ago

Please do the following:

ceetonice commented 2 years ago

Hi,

After doing the suggested I'm getting a new error:

https://ibmirepo.penske.com/ibm/repodata/repomd.xml: [Errno 14] curl#22 - "The requested URL returned error: 503"

Is repomd.xml supposed to be downloaded when doing the reposync? Is there an extra step I should do to download the repomd.xml?

Just for context: I'm able to curl from my IBMi to our linux box and download the files with no issues