Policy Server :: The Last Key decoded to Null from the Keystore

Document ID:  TEC565906
Last Modified Date:  07/04/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details


  • CA Single Sign-On


  • CA Single Sign-On:Release:12.52 SP1



We're running several Policy Servers in Production. After changing the Encryption Key, one of the Policy Servers started suddenly to give errors in the smps.log :


  [ERROR] The last key decoded to null from the keystore

  [ERROR] Failed to generate agent key update commands


How can we solve this problem ?


The Reason for these error messages is that the Encryption Key isn't the same across Policy Servers in your environment.


To resolve this issue, choose one of the following:


From SMCONSOLE -> Keys tab:


  - Select Encrypt Keys Using Policy Store Encryption Key




  - Uncheck "Encrypt Keys Using Policy Store Encryption Key"

    and set the Policy Store key and manually enter the value in the two dialog boxes


 Make sure that all Policy Servers are configured the same way in your Environment.


Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255


Not what you were looking for?

Search Again >

Product Information

Support by Product >


Join a Community >

Chat with CA

Just give us some brief information and we'll connect you to the right CA ExpertCA sales representative.

Our hours of availability are 8AM - 5PM CST.

All Fields Required


We're matching your request.

Unfortunately, we can't connect you to an agent. If you are not automatically redirected please click here.

  • {{message.agentProfile.name}} will be helping you today.

    View Profile

  • Transfered to {{message.agentProfile.name}}

    {{message.agentProfile.name}} joined the conversation

    {{message.agentProfile.name}} left the conversation

  • Your chat with {{$storage.chatSession.messages[$index - 1].agentProfile.name}} has ended.
    Thank you for your interest in CA.

    Rate Your Chat Experience.


agent is typing