Unable to add SPE to SPE console
search cancel

Unable to add SPE to SPE console

book

Article ID: 419085

calendar_today

Updated On:

Products

Protection Engine for NAS Protection Engine for Cloud Services

Issue/Introduction

After installing Symantec Protection Engine (SPE) you receive the following error when attempting to add the new  SPE to the SPE Console.

Failed to add the following server(s):
<SERVER_IP_HOSTNAME>. Reason: Unauthorized

 

Reviewing the CmafUI.log on the SPE console shows entries similar to the following:

[Main UI Thread] ERROR Symantec.Cmaf.Security.AuthManager - Exception is caught while adding server: <SERVER_IP_HOSTNAME>. Reason: Unauthorized
[Main UI Thread] ERROR Symantec.Cmaf.UI.CustomControls.AddServerPane - Failed to add scanner name: <SERVER_IP_HOSTNAME>. Reason: Unauthorized

 

Reviewing the SPE_REST_API.log on the SPE shows entries similar to the following:

[https-jsse-nio-8008-exec-6] INFO  spe.authentication.util.CustomPasswordEncoderForBasicAuthentication:53 - Password matches: false
[https-jsse-nio-8008-exec-6] DEBUG spe.authentication.security.JwtAuthenticationEntryPoint:50 - JwtAuthenticationEntryPoint::commence exception occurred: org.springframework.security.authentication.BadCredentialsException: Bad credentials

Environment

SPE 9.x

SPE Console 9.x

Cause

The administrator password entered in the SPE Console does not match the SPE RestAPI administrator password.

Resolution

From the Command Line Interface (CLI) of the SPE, run one of the following commands:

  • Windows:
    XMLModifier.exe -w administrator '<PASSWORD_HERE>' <SPE_Install_Directory>\RestAPI\restconfiguration.xml
  • Linux:
    xmlmodifier -w administrator '<PASSWORD_HERE>' <SPE_Install_Directory>/RestAPI/restconfiguration.xml