If you occured An internal certificate chaining error has occurred in your publish code this step will be follow- up
1.Click Start > Run.
2.Enter MMC and click OK.
3.Go to File > Add/Remove Snap-in.
4.Go to File > Add/Remove Snap-in.
5.Click Certificates, and select Add.
6.Select Computer Account, and click Next.
7.Select Local Computer and click Finish.
8.Click OK to close the Snap-ins window.
9.Double-click Certificates (local computer) to expand its view.
10.Right-click Intermediate Certification Authorities and select All Tasks àImport.
11.Complete the wizard to import the chain certificate. Browse to locate the chain certificate to be imported (*.cer).
12.Select Place all certificates in the following store and select the Intermediate Certificate Authorities store.
13.Click Next; then click Finish to complete the wizard.
Right-click Intermediate Certification Authorities and select Refresh. Expand the view for Intermediate Certification Authorities and look in the certificates directory to verify that the certificate is installed correctly.
or check this link
http://www.entrust.net/knowledge-base/technote.cfm?tn=8166[
^]