I believe you'll want to look at the bind mount options to put the cert
where your repo expects it.
https://fedoraproject.org/wiki/Mock/Plugin/BindMount
Pat
On Mon, 2021-11-15 at 18:41 +0100, patrick+buildsys(a)laimbock.com wrote:
Hi,
How do I get a client certificate + key into the mock chroot? Mock
needs
access to a repo which requires the client to send its certificate
(nginx with ssl_verify_client on;).
If I copy the certificate and key to /etc/pki/tls/{certs,private} in
the
bootstrap directory then the chroot picks them up and the repo is
available.
Is there a way to specify the client certificate + key in a config
somewhere so they get picked up automatically?
Thanks!
Best,
Patrick
_______________________________________________
buildsys mailing list -- buildsys(a)lists.fedoraproject.org
To unsubscribe send an email to buildsys-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.fedoraproject.o...
List Guidelines:
https://urldefense.proofpoint.com/v2/url?u=https-3A__fedoraproject.org_wi...
List Archives:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.fedoraproject....
Do not reply to spam on the list, report it:
https://urldefense.proofpoint.com/v2/url?u=https-3A__pagure.io_fedora-2Di...