cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
263
Views
0
Helpful
2
Replies

Cisco ISE Export API gives "HostName should not be null"

prathwishhegde
Level 1
Level 1

HI, 

We are using Cisco ISE (version 3.1.0.518, multi-node) for certificate lifecycle management. We encountered an issue in the following use case:

When attempting to export a certificate using the API shared below, it works successfully on one machine. However, it fails on one of our customer machines running the same version, with the error shown below.

{
"status" : "Fail",
"message" : "HostName should not be null"
}

API: https://{IP/FQDN}:443/api/v1/certs/system-certificate/export

{
"export":"CERTIFICATE",
"id":"SYSTEM_CERT_ID,
"password":"RANDOMPASSWORD"
}
 
In the below doc, it says hostname is mandatory.
 
Could you please help us understand under what condition this hostname is mandatory in the payload? 

 

2 Replies 2

marce1000
Hall of Fame
Hall of Fame

 

          - FYI : https://bst.cloudapps.cisco.com/bugsearch/bug/CSCwh17862

  M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

prathwishhegde
Level 1
Level 1

Thanks for sharing the details @marce1000 . However, it says as a "Workaround: Add a "hostName" field in the request body. This hostname must match the node hostname from which the certificate needs to be exported."

but why 2 different behavior in the same version in 2 different ISE node.