Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't upload new https certificate #54

Open
stendebach opened this issue Feb 3, 2020 · 3 comments
Open

Can't upload new https certificate #54

stendebach opened this issue Feb 3, 2020 · 3 comments

Comments

@stendebach
Copy link

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

@geissonator
Copy link
Contributor

Anything seem out of sorts with the command used @ojayanth or @devenrao ?

@stendebach
Copy link
Author

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

@devenrao
Copy link
Contributor

devenrao commented Mar 9, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants