What You Are Seeing?
In some instances, the Register-C4bEndpoint script was being generated with the TrustCertificate switch being set unexpectedly.
What is Expected?
The TrustCertificate switch should not be defaulted unless the environment is using a self signed certificate.