Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

"Error:2006D002" appears when activating an installed Deep Security Agent (DSA)

    • Updated:
    • 27 Mar 2017
    • Product/Version:
    • Deep Security 10.0
    • Deep Security 9.5
    • Deep Security 9.6
    • Platform:
    • Windows 10 32-bit
    • Windows 10 64-bit
    • Windows 2003 Enterprise
    • Windows 2003 Enterprise 64-bit
    • Windows 2003 Server R2
    • Windows 2003 Small Business Server
    • Windows 2003 Small Business Server R2
    • Windows 2003 Standard
    • Windows 2003 Standard 64-bit
    • Windows 2008 Datacenter 64-bit
    • Windows 2008 Enterprise
    • Windows 2008 Enterprise 64-bit
    • Windows 2008 Essential Business Server
    • Windows 2008 Server Core
    • Windows 2008 Server Foundation
    • Windows 2008 Server R2
    • Windows 2008 Server R2 Datacenter
    • Windows 2008 Server R2 Enterprise
    • Windows 2008 Server R2 with Hyper-V(TM)
    • Windows 2008 Small Business Server
    • Windows 2008 Standard
    • Windows 2008 Standard 64-bit
    • Windows 2012 Datacenter R2
    • Windows 2012 Enterprise
    • Windows 2012 Enterprise R2
    • Windows 2012 Server Essential R2
    • Windows 2012 Server Foundation R2
    • Windows 2012 Standard R2
    • Windows 7 32-Bit
    • Windows 7 64-Bit
    • Windows 8 32-Bit
    • Windows 8 64-Bit
    • Windows 8.1 32-Bit
    • Windows 8.1 64-Bit
    • Windows Vista 32-bit
    • Windows Vista 64-bit
    • Windows XP Professional
    • Windows XP Professional 64-bit
    • Windows XP SP2 32-bit
    • Windows XP SP3 32-bit
Summary

You have installed a Deep Security Agent (DSA) on a Windows OS with Core MSI Package. When you attempt to activate the DSA via Windows command line prompt (CMD), a certificate error similar to the following will show:

Path is: C:\ProgramData\Trend Micro\Deep Security Agent\dsa_core\ds_agent.crt   Error is: error:02001005:system library:fopen:Input/output error [fopen('C:\ProgramData\Trend Micro\Deep Security Agent\dsa_core\ds_agent.crt','r')]   sslCtx:UseCredentials() failed - error:2006D002:BIO routines:BIO_new_file:system lib [] 

Certificate Error 2006D002

Details
Public

The error probably occurs because the Windows command line prompt was started with insufficient permissions. To fix this, run the Windows command line prompt with administrator rights. For the procedure, refer to this Microsoft article.

If you are performing an agent-initiated activation (AIA), the dsa.exe called by dsa_control needs to access the agent's certificate file located under C:\ProgramData\Trend Micro\Deep Security Agent\dsa_core\ds_agent.crt.

Starting from Windows 2008 R2 and above, the local administrator account and the user accounts under Administrators group have different permissions. The new Admin Approval Mode (AAM) of Windows 2008 gives Administrators group users (except the local administrator) only a standard access token to folders first. Therefore, clicking C:\ProgramData\Trend Micro\Deep Security Agent\dsa_core (which is owned by Administrator) will trigger the User Access Control (UAC) to ask for permission. This causes the dsa.exe process started by the user account belonging to Administrators group to get an access denied prompt.

To prevent the issue, open the command prompt as Administrator and perform the activation.

To resolve the issue, completely disable the Admin Approval Mode:

  1. Navigate to Computer Configuration > Windows Settings > Security Settings.
  2. Click Local Policies, then click Security Options.
  3. Set the policy settings in the following order:
    1. User Account Control: Admin Approval Mode for the Built-in Administrator account : Disabled
    2. User Account Control: Behaviour of the elevation prompt for administrators in Admin Approval Mode : Elevate without prompting
    3. User Account Control: Run all administrators in Admin Approval Mode : Disabled

  4. Reboot the machine.
Premium
Internal
Rating:
Category:
Troubleshoot
Solution Id:
1116977
Feedback
Did this article help you?

Thank you for your feedback!

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support


To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.