Your CSR should start with header "-----BEGIN CERTIFICATE REQUEST----- " and end with footer "-----END CERTIFICATE REQUEST----- ". To remain secure, certificates must use keys which are at least 2048 bits in length.