I was reading the below documentation about API REST of chassis (FXOS):
But I haven't found more information (only it is mentioned at http://www.cisco.com/c/en/us/td/docs/security/firepower/fxos/fxos211/cli...) about FXOS API REST.
I have two pairs of 4100 Firepower and two pairs of 9300 Firepower, and they are connected to FMC 4000. I was trying to configure both pairs from API FXOS but I couldn't authenticate to FXOS API. FMC REST API is working and I can make GET, POST, etc.
Any idea about more information about FXOS API?
My request via POSTMAN is:
POST https://<Firepower Chassis_chassis_fqdn>[:management_port]/api/login
with HTTP Headers
Content-type HTTP set to application/json
USERNAME = <name of the user>
PASSWORD = <url_encoded_password>
ERROR 400 with Payload
"error-description": "Authentication failed",
Thank you in advance.
So what output you see after using adjusted command which I have shared? Sill same error 552 as before?
Full command to be used:
curl -X POST -v -k -H "Authorization: Basic YWRtaW46VmtsYXV6b3YxMjM=" https://192.168.0.38/api/login --insecure -H "USERNAME=admin" -H "\
> Authorization:Basic YWRtaW46VmtsYXV6b3YxMjM=
Just keep in mind to change IP address 192.168.0.38 to your IP address of Firepower Chassis Manager / FXOS manager along with proper credentials, rest of the command attributes you can keep as above.