The SMP can't register to a Task Server. The NS logs showed the following (after enabling Task verbosity logging):
Entry 1 - This shows that it is trying to reach the registration page:
CTaskServerNetCommsConnection:
Entry 2 - Calling NS server endpoint:
'https://smpserver.yourdomain.com:443/Alt
Entry 3 - failed to authenticate with the provided credentials:
Operation 'Direct: Head' failed.Protocol: HTTPSHost: smpserver.yourdomain.com:443Path: /Altiris/TaskManagement/CTAgenConnection Id: 1193.5980Communication profile Id: {C94E6833-9E8F-4227-A8AE-A8D07Throttling: 0 0 0Error type: HTTP errorError code: HTTP status 401: The request requires user authentication (0x8FA10191)Error note: Authentication failed, server refused to authenticate with provided credentialsServer HTTPS connection info:Server certificate:Serial number: 13 00 00 0a 51 32 14 16 c9 fe 8a 02 be 00 00 00 00 0a 51Thumbprint: 90 b8 0f 70 1d d4 a3 e7 64 4f d6 0e 2d b0 98 ca 04 cb d1 45Cryptographic protocol: TLS 1.2Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBCCipher algorithm: AESCipher key length: 256Hash algorithm: SHA384Hash length: 384Key exchange algorithm: ECDH_P256Key length: 256
Looking at the IIS log, it showed that the agent on the SMP is not passing any credentials, just trying to authenticate anonimously:
2019-06-10 17:02:58 <IP Address> HEAD /Altiris/TaskManagement/CTAgen2019-06-10 17:02:58 <IP Address> HEAD /Altiris/TaskManagement/CTAgen
but any other machine that was tried anonymously and with the proper account:
2019-06-10 00:17:40 <IP Address> HEAD /Altiris/TaskManagement/CTAgen2019-06-10 00:17:40 <IP Address> HEAD /Altiris/TaskManagement/CTAgen2019-06-10 00:17:40 <IP Address> POST /Altiris/TaskManagement/CTAgen
Operation 'Direct: Head' failed.Protocol: HTTPSHost: smpserver.yourdomain.com:443Path: /Altiris/TaskManagement/CTAgent/GetClientTaskServers.aspxConnection Id: 1193.5980Communication profile Id: {C94E6833-9E8F-4227-A8AE-A8D072547ABA}Throttling: 0 0 0Error type: HTTP errorError code: HTTP status 401: The request requires user authentication (0x8FA10191)Error note: Authentication failed, server refused to authenticate with provided credentials
ITMS 8.x
Using ACC (Agent Connectivity Credentials) for connecting the agents and it was noticed that there were two agent communication profiles for the SMP server - one with the server name (the default one created during initial installation) and the other one with the server alias. The alias communication profile was the one used by all the targeted agent policies.
There was a conflict between having two agent communication profiles for the same server.
In order to address this issue: