Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to see ssl info for Target Server

Not applicable

We're setting up a target server for various Apigee environment to our backend and we're able to do so through Apigee's environment config UI. However to update the ssl info ( enabling ssl verification ) this can only be done via the API, from what I've been mining through the docs.

How are we able to see the ssl info of a target server? The UI only shows minimal details, same with the target server api: name, host, port, enabled.

Also, while looking through the docs, there were xml references for a target server, are these accessible for editing, where are they located?

Solved Solved
0 2 1,276
1 ACCEPTED SOLUTION

Not applicable

There is a bug in the API to update a target server, I've submitted a ticket.

https://api.enterprise.apigee.com/v1/organizations/<org>/environments/<env>/targetservers/<name>;

{
  "name" : "api",
  "host" : "api-backend.dev.discoveryeducation.com",
  "isEnabled" : true,
  "port" : 443,
  "SSLInfo": {
      "enabled": true,
      "ignoreValidationErrors": false
    }
 }

With SSLInfo as the property key did not work, however changing it to sSLInfo successfully made an update. After the successful update I was able to see the SSL info in the GET request.

View solution in original post

2 REPLIES 2

Not applicable

There is a bug in the API to update a target server, I've submitted a ticket.

https://api.enterprise.apigee.com/v1/organizations/<org>/environments/<env>/targetservers/<name>;

{
  "name" : "api",
  "host" : "api-backend.dev.discoveryeducation.com",
  "isEnabled" : true,
  "port" : 443,
  "SSLInfo": {
      "enabled": true,
      "ignoreValidationErrors": false
    }
 }

With SSLInfo as the property key did not work, however changing it to sSLInfo successfully made an update. After the successful update I was able to see the SSL info in the GET request.

Thank you for sharing the answer! Everyone that gets over a hoop with this answer, should give at least an upvote 🙂