When trying to enter a private certificate in a PEM format but is a PKCS#1 type, the commit errors saying invalid key but gives no hint to why. The docs also need updating to clarify the type must be PKCS#8.
Best option would be to accept both types or convert automatically. But docs & error clarification would also suffice.