ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

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

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 '8B0FE61C83C756A7FFEC0C7AB05436DE1C5BB75A'. 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 '8B0FE61C83C756A7FFEC0C7AB05436DE1C5BB75A'. 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)

Cause

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

Environment

ITMS 8.5, 8.6

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 will be fixed in a future release of the product, currently targeted for 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'