dani_salvado
Feb 14, 2023Altostratus
Setup Master Key ERROR
Hello,
I'm trying to use the REST proxy on the BIG-IQ system to request a BIG-IP device as follows:
# Parameters for the requests
headers = {
'X-F5-Auth-Token': f'{token}',
'Content-Type': 'application/json'
}
#Request to use the REST proxy on the BIG-IQ system
try:
url_pro = "https://" + ip + "/mgmt/shared/resolver/device-groups/cm-bigip-allBigIpDevices/devices/4ad12733-95ea-47b0-a562-dd6ac6da5adc/rest-proxy/mgmt/tm/sys/file/ssl-cert/f5-ca-bundle.crt?options=-hidden&$select=cachePath"
response_pro = requests.get(url_pro, headers=headers, verify=False)
json_response_pro = response_pro.json()
print("\033[93m" + "Response to the request to use the REST proxy on the BIG-IQ system: ")
print("\033[93m" + json.dumps(json_response_pro, indent=2))
except requests.exceptions.RequestException as e:
raise SystemExit("\033[91m" + "The REST proxy on the BIG-IQ system is NOT working because... " + str(e))
Everything was working fine until I got this message: "Unable to decrypt an item because the Master Key has not been configured on this system. Please setup the Master Key via the setup UI before proceeding."
I don't know how to fix it, does anybody know? Why is this happening?
Thanks in advance!