When trying to select the certificate on the SMP Communication Profile Page, nothing happens. The SMP Log shows: Failed to parse store name for certificate defined by thumbprint ''xxxxxxxxxxxxxxxxxxxxx'. Certificate lookup will be performed.
search cancel

When trying to select the certificate on the SMP Communication Profile Page, nothing happens. The SMP Log shows: Failed to parse store name for certificate defined by thumbprint ''xxxxxxxxxxxxxxxxxxxxx'. Certificate lookup will be performed.

book

Article ID: 213731

calendar_today

Updated On:

Products

Client Management Suite

Issue/Introduction

When trying to select the certificate on the SMP Communication Profile Page, nothing happens and a warning is thrown in the NS Log.

Warning 1:

Failed to parse store name for certificate defined by thumbprint ''xxxxxxxxxxxxxxxxxxxxx'. Certificate lookup will be performed.

Requested value 'WebHosting' was not found.
[System.ArgumentException @ mscorlib]
at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
at Altiris.NS.Security.Cryptography.CertificateManager.GetSiteHttpsCertificate(String siteName, Boolean includePrivateKey)

Exception logged from:
at Altiris.NS.Security.Cryptography.CertificateManager.GetSiteHttpsCertificate(String, Boolean)
at Altiris.Agent.Unix.Data.Agent.GetHttpCertificateHashString()
at Altiris.Agent.Unix.Data.Agent.get_RawInstallXml()
at Altiris.Agent.Unix.Data.Agent.get_RawInstallXmlWithPortAndProtocol()
at Altiris.Agent.Unix.PackageGenerators.BootstrapGenerator.RegenerateBootstrapFiles(String)
at Altiris.Agent.Unix.Data.NsProfileSavedMessageSubscriber.OnNSMessage(Altiris.NS.Messaging.INSMessage)
at Altiris.NS.Messaging.NSMessageQueue.NotifySubscriber(System.Guid, Altiris.NS.Messaging.INSMessage)
at Altiris.NS.Messaging.NSMessageQueue.NotifySubscriberEntry(Object)
at Altiris.Common.Threading.BalancedThreadPool.ExecuteWorkerRequest(Altiris.Common.Threading.BalancedThreadPoolWorkerState, Altiris.Common.Threading.BalancedThreadPoolWorkerRequest)
at Altiris.NS.Threading.NsBalancedThreadPool.ExecuteWorkerRequest(Altiris.Common.Threading.BalancedThreadPoolWorkerState, Altiris.Common.Threading.BalancedThreadPoolWorkerRequest)
at Altiris.Common.Threading.BalancedThreadPool.ThreadPoolProc(Object)
at System.Threading.ThreadHelper.ThreadStart(Object)

Warning 2:

Failed to parse store name for certificate defined by thumbprint 'xxxxxxxxxxxxxxxxxxxxx'. Certificate lookup will be performed.

Requested value 'WebHosting' was not found.
[System.ArgumentException @ mscorlib]
at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
at Altiris.NS.Security.Cryptography.CertificateManager.GetSiteHttpsCertificate(String siteName, Boolean includePrivateKey)

Exception logged from:
at Altiris.NS.Security.Cryptography.CertificateManager.GetSiteHttpsCertificate(String, Boolean)
at Altiris.Agent.Unix.Data.Agent.GetHttpCertificateHashString()
at Altiris.Agent.Unix.Data.Agent.get_RawInstallXml()
at Altiris.Agent.Unix.Data.Agent.get_RawInstallXmlWithPortAndProtocol()
at Altiris.Agent.Unix.Data.Computer.GetPullInstallSettings()
at Altiris.Agent.Unix.PackageGenerators.MacInstallerGenerator.CreateMacInstallationArchive(String)
at Altiris.Agent.Unix.Data.NsProfileSavedMessageSubscriber.OnNSMessage(Altiris.NS.Messaging.INSMessage)
at Altiris.NS.Messaging.NSMessageQueue.NotifySubscriber(System.Guid, Altiris.NS.Messaging.INSMessage)
at Altiris.NS.Messaging.NSMessageQueue.NotifySubscriberEntry(Object)
at Altiris.Common.Threading.BalancedThreadPool.ExecuteWorkerRequest(Altiris.Common.Threading.BalancedThreadPoolWorkerState, Altiris.Common.Threading.BalancedThreadPoolWorkerRequest)
at Altiris.NS.Threading.NsBalancedThreadPool.ExecuteWorkerRequest(Altiris.Common.Threading.BalancedThreadPoolWorkerState, Altiris.Common.Threading.BalancedThreadPoolWorkerRequest)
at Altiris.Common.Threading.BalancedThreadPool.ThreadPoolProc(Object)
at System.Threading.ThreadHelper.ThreadStart(Object)

Environment

ITMS 8.5, 8.6

Cause

The problem was due to characters in the certificate name, they were not escaped so were breaking picker output XML.

Resolution

1. To verify this information, please run the following query: 

select * from Inv_Digital_Certificate_Details

2. Look at the name column.  You're looking for a name that contains an escaped character, such as quotation marks.

This issue is fixed in  ITMS 8.6 RU1. 


As a workaround, you can update the database as follows:

update Inv_Digital_Certificate_Details
set name = 'Use the same name without the escaped character'
where _ResourceGUID = 'ResourceGUID of the impacted Name'