The POST /api/v1/certificateUtils/encode endpoint encodes the P12 certificate.