Trying to add a server to the CEM Gateway Manager, and getting error Web Exception occurred during Server Certificate request - Unable to connect to the remote server.
Error: Web Exception occurred during Server Certificate request - Unable to connect to the remote server.
Open up the Gateway Manager Logs (General Tab > Miscellaneous > Start Altiris Log Viewer). Find the message that contains GetServerCertificate.aspx Something like this:
Trying to get Server certificate. Request:https://ServerName:Port/Altiris/NS/Agent/GetServerCertificate.aspx?CRL=False&Version=8.6.2184.0&Guid=2722c959-384b-403f-90d9-f93d3ff62b00
If you click on that URL, it should pull up the Certificate in a Web Browser. Something like this:
-----BEGIN CERTIFICATE----- MIIEFzCCAv+gAwIBAgIUHf49jUZcwq5KZVSTX4sDprE3EzswDQYJKoZIhvcNAQELBQAwMTEvMC0G A1UEAxMmU01QIHJlbmJkbDAwMDE3MC0wNi5FUE0ubG9jYWwgQWdlbnQgQ0EwHhcNMjAwNTA4MDYw
Try that URL from your desktop, does it work? If the URL is unsuccessful from the Gateway, we have a communication problem between the SMP and the Gateway. This could be a HOSTS file, DNS, or a Firewall issue that needs to be addressed by the Networking team.
NOTE: The GUID in the URL request is the GUID of the SMP Internet Gateway (select * from [Inv_AeX_AC_Roles] where role = 'SMP Internet Gateway')
This URL won't be successful anywhere else but from the Gateway.