Forum Discussion
Francois_LAGANT
Nimbostratus
Aug 24, 2022API REST error 400
Hello, I try to download an ssl certificate via the REST APIs /mgmt/tm/sys/crypto/cert from f5 but I always get the following response: curl -sk -H "X-F5-Auth-Token: XXXXXX" https://x.x.x.x/mgm...
Francois_LAGANT
Nimbostratus
Aug 25, 2022For me it's ok the names of the sources are ok
-rwxrwxrwx. 1 apache apache 2061 Aug 24 09:57 /var/www/html/certs/certificats/files/test_certificate.pem
JRahm
Admin
Aug 25, 2022ok...this is my working python hook script I use for Let's Encrypt, which can be modified.
But to step back a little bit, are you using an admin account to make the request? It is required unless you create custom roles for the REST API.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects