Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

unable rest api json keystore

mario_bisonti2
Participant
0 Likes
595
  • SAP Managed Tags

Hello.

I would like to use rest api to call Keystore on my SAP BTP tenant to retrieve the expired certificate.

I use:

https://<my neo server>.eu1.hana.ondemand.com/api/v1/KeystoreEntries?$select=Alias,ValidNotAfter,Hexalias,ValidNotBefore,Validity

When I execute it from browser, it prompts for user and password, and, when I enter it, I obtain an xml result.

I would like to obtain a json format, but I am not able.

I tried some tool as postman or as a Nagios plugin check_json to call it but I obtain :

Check JSON status API CRITICAL - Connection failed: 400 Bad Request

It seems that I am not able to retrieve in json format.

What is the problem?

Thanks a lot

Mario

Hello.

I would like to use rest api to call Keystore on my SAP BTP tenant to retrieve the expired certificate.

I use:

https://<my neo server>.eu1.hana.ondemand.com/api/v1/KeystoreEntries?$select=Alias,ValidNotAfter,Hexalias,ValidNotBefore,Validity

When I execute it from browser, it prompts for user and password, and, when I enter it, I obtain an xml result.

I would like to obtain a json format, but I am not able.

I tried some tool as postman or as a Nagios plugin check_json to call it but I obtain :

Check JSON status API CRITICAL - Connection failed: 400 Bad Request

It seems that I am not able to retrieve in json format.

What is the problem?

Thanks a lot

Mario

0 REPLIES 0