Dne 15. 11. 21 v 18:41 [email protected] napsal(a):
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?

Yes, there is a way:

https://rpm-software-management.github.io/mock/feature-gpg-and-ssl

Miroslav
_______________________________________________
buildsys mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to