That was probably my best guess
The only topics I can find along these lines refer to using SSH not certificates, like [Support Guide] How do I access private repositories in the build environment? and [Support Guide] Using an SSH key via environment variable during build.
There is the possibility this isn’t possible. I can neither confirm nor deny. With luck a Support Engineer (or other community member) can provide a solid answer.