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+build...@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@lists.fedoraproject.org > To unsubscribe send an email to buildsys-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.fedoraproject.org_en-2DUS_project_code-2Dof-2Dconduct_&d=DwIGaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=OAMtP0DWou0nlXG7Kmxo2enjXJfwb1DXS9fwcaESuTE&m=qir-LZ0S8eyIT5Eu-2mR56nLnuoLBZJbE1_O8CgqRHjAN4RlsqxDL97LZa4J5VHb&s=7-WfPky9SuTS2O-T34K3JI8-T067b1b6ASX6xr_hhMQ&e= > > List Guidelines: > https://urldefense.proofpoint.com/v2/url?u=https-3A__fedoraproject.org_wiki_Mailing-5Flist-5Fguidelines&d=DwIGaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=OAMtP0DWou0nlXG7Kmxo2enjXJfwb1DXS9fwcaESuTE&m=qir-LZ0S8eyIT5Eu-2mR56nLnuoLBZJbE1_O8CgqRHjAN4RlsqxDL97LZa4J5VHb&s=nP9TbmKylv_znNg4-gKAin0Cu6RZ1spTqW3qfW8h87c&e= > > List Archives: > https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.fedoraproject.org_archives_list_buildsys-40lists.fedoraproject.org&d=DwIGaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=OAMtP0DWou0nlXG7Kmxo2enjXJfwb1DXS9fwcaESuTE&m=qir-LZ0S8eyIT5Eu-2mR56nLnuoLBZJbE1_O8CgqRHjAN4RlsqxDL97LZa4J5VHb&s=QVwN684OwJ81lKcSmb6e_7YqPebHcKYEVEmKsKiT9Ts&e= > > Do not reply to spam on the list, report it: > https://urldefense.proofpoint.com/v2/url?u=https-3A__pagure.io_fedora-2Dinfrastructure&d=DwIGaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=OAMtP0DWou0nlXG7Kmxo2enjXJfwb1DXS9fwcaESuTE&m=qir-LZ0S8eyIT5Eu-2mR56nLnuoLBZJbE1_O8CgqRHjAN4RlsqxDL97LZa4J5VHb&s=1ahA3rVBW8KM7kGWW4SAiYYxEa67_F9esbWknyliaUI&e= > _______________________________________________ buildsys mailing list -- buildsys@lists.fedoraproject.org To unsubscribe send an email to buildsys-le...@lists.fedoraproject.org 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/buildsys@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure