How would the order of api commands look like:
new installed management server and adding new installed gateway to it
something like this?:
mgmt_cli -s sid.txt add simple-gateway name "$GATEWAY_NAME" ipv4-address "$GATEWAY_IP" one-time-password "Admin123" --format json > gateway_response.json
When i run that i get this:
message: "Installation failed. Reason: SIC is not initialized either at the Security Management Server or the peer [ SIC error no. 119 ] check that SIC is configured both on Security Management Server and peer, and that both have valid SIC certificates."
or this:
"sic-message" : "SIC Status: Unknown. Could not get SIC properties from peer object",
"sic-status" : "unknown"
to solve this I had to run "cp_conf sic init Admin123" on the gateway manually before running my script!
What I miss here?