Removing additional whitespace from the certificate in the metadata