[Pulp-list] Authenticated repositories

Giacomo Sanchietti giacomo.sanchietti at nethesis.it
Mon Oct 1 08:33:57 UTC 2012


Hi,
after a bit of hacking on the python code, I found the problem.

> I can register and bind the repository from the consumer, but I can't
> authenticate to repository. The error returned by a "yum repolist" is
> self-explanatory:
>
> [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403"

 From the guide, the extensions.txt file should contain repository 
relative path in the form:

1.3.6.1.4.1.2312.9.2.0000.1.6=ASN1:UTF8:repos/myRepo/

But the server can't match against this uri. You have to use:

1.3.6.1.4.1.2312.9.2.0000.1.6=ASN1:UTF8:myRepo/


I hope this will be helpful to someone with the same problem.


> Is there a way to prevent the server from sending certs to client?

I can't still change this behaviour, but I'll try a little more of hacking.


-- 
Giacomo Sanchietti

Nethesis srl
Via degli Olmi 12 - 61122 Pesaro (PU)
tel. +39 0721 405516 - fax +39 0721 268147
www.nethesis.it - supporto at nethesis.it




More information about the Pulp-list mailing list