Forum Discussion
Cert Invalid Parameter
I am getting a
400
response from the /mgmt/tm/sys/crypto/cert
endpoint.
The body I am passing is:
{"command":"install","name":"testdomain","from-local-file":"/var/config/rest/downloads/testdomain.key"}
. The file exists and if I remove the file, I get an error that the file could not be copied, so I think this actually is copying this file.
The response body is:
Key management library returned bad status: -4, Invalid Parameter
.
Any help would be really appreciated. I am following the instruction here, but I am using token auth: https://devcentral.f5.com/questions/upload-ssl-keys-certs-via-icontrol-rest-api
This could be related to the issue I am having with uploading files, I opened a question here: https://devcentral.f5.com/questions/unable-to-upload-file-through-icontrol-rest-interface-49232
I believe this was a permission issue. I believe that the user I was trying failed. I ended up abandoning token auth and used a different user with basic auth and this started working.
- Grant_Joy_24163Altostratus
I believe this was a permission issue. I believe that the user I was trying failed. I ended up abandoning token auth and used a different user with basic auth and this started working.
- JRahmAdmin
I'm not sure what version you are on, but I had problems with the sys/crypto methods. Try using the /sys/file/ssl-key and /sys/file/ssl-cert methods instead.
- Grant_Joy_24163Altostratus
This has been tested on 12 and 12.1. It seems to work fine without token auth (see my other comment). I can try your recommended method instead though and see what happens.
- JRahmAdmin
i'll test with tacacs on Monday and let you know as well. Away from office today.
- Robert_47833Altostratus
Hi,Jason
TMSH command :delete net ipsec ipsec-sa
I want to delete all spi or esp under :
https://1.1.1.1/mgmt/tm/net/ipsec/ipsec-sa/
it seems delete https://1.1.1.1/mgmt/tm/net/ipsec/ipsec-sa/ doesn't work
which URL should I use?
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com