Fixes 6566 - If the certname does not match the hostname, nil the certname