The certificated used doesnt need BEGIN and END CERTIFICATE marks.