Remove spaces from the x509cert