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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...