Replace spaces in certificate with newlines.