openbmc-tools
openbmc-tools copied to clipboard
Can't upload new https certificate
Hi,
when I try to install a new certificate I get the following error message.
py openbmctool.py -H xxx.xxx.xxx.xxx -U root -P xxxxxx certificate update server https -f "xxxx.pem" Attempting login... Updating certificate url=https://xxx.xxx.xxx.xxx/xyz/openbmc_project/certs/server/https { "data": { "description": "The specified resource cannot be created" }, "message": "403 Forbidden", "status": "error" } Failed to update the certificate User root has been logged out
Anything seem out of sorts with the command used @ojayanth or @devenrao ?
I tried to first update the root certificate, but i received the same error message:
py openbmctool.py -H xxx.xxx.xxx.xxx -U root -P xxxxxx certificate update authority https -f "root.pem" Attempting login... Updating certificate url=https://xxx.xxx.xxx.xxx/xyz/openbmc_project/certs/authority/https { "data": { "description": "The specified resource cannot be created" }, "message": "403 Forbidden", "status": "error" } Failed to update the certificate User root has been logged out
please use replace interface as we are allowing only 1 https certificate for now python openbmctool.py -H xx -U root -P 0penBmc certificate replace server https -f prascert.pem