Notice: Upgrade of row [600,post-apps,627,mgwd] failed. Retrying. Reason: Failed to install Certificate. Reason: "The certificate has expired.".. Error: Upgrade of row [600,post-apps,627,mgwd] failed. To many retries. command failed: Upgrade attempt failed.
It sounds like you are hitting a known issue that can happen when upgrading from 9.1x to newer releases.
You can reference the following Customer Bulletin: SU385 for additional details regarding the issue. I would recommend contacting NetApp Technical Support to assist you with the issue and help finish the upgrade.