Installation

Upload license via api services/licenser/licenses and getting "The license signature is not a base64-encoded string"

bschuler
New Member

Hi.

I am trying to upload a valid license via the API:

$ curl  -u 'user:pass' https://<host>:8089/services/licenser/licenses -d 'name=Splunk.license' -d 'payload=<license>...</license>'

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <messages>
    <msg type="ERROR">
 In handler 'licenses': Splunk.license: failed to parse license because: The license signature is not a base64-encoded string (2) 

  </messages>
</response>

The license is valid as I am able to apply it via the web page and from the splunk cli. Any ideas on what might be wrong?

Ben

Tags (1)
0 Karma
Get Updates on the Splunk Community!

[Live Demo] Watch SOC transformation in action with the reimagined Splunk Enterprise ...

Overwhelmed SOC? Splunk ES Has Your Back Tool sprawl, alert fatigue, and endless context switching are making ...

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...