WARNING: “Request-CSCertificate” processing has completed with warnings. “1” warnings were recorded during this run.

“Certificate chain is invalid”

Resolution

The reason you get these warnings is that certificate publisher is not in your Trusted Root Certification Authorities list. Follow the steps below in order to add your publisher into the list. In my case, publisher is AD Certificate Services.