New Member.

REST API giving 401 Unauthorized error which making a call to SSO enabled HPSM


I have HP Service Manager 9.5 and I have enabled REST API for ticket creation on it. I was trying to create a ticket using REST without enabling SSO over http, it was creating the ticket but since I have enabled it, it is giving me a 401 unauthorized error. I also tried to create ticket over https but it says url does not exist.

When I checked the logs for http it is showing error that certificates are missing.

Is there any particular configuration I am missing here?


Any help would be appreciated.


1 Reply
Acclaimed Contributor.
Acclaimed Contributor.

Re: REST API giving 401 Unauthorized error which making a call to SSO enabled HP


if the log file is saying that the certificates are missing could be for some reason:

the certificates were incorrectly created,

the certificates expired and you must create new ones.

basically on both options, you should create new ones.

Carlos Villalobos R
Customer Support Engineer
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.