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