Dne 15. 11. 21 v 18:41 patrick+buildsys(a)laimbock.com 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