Forum Discussion
Upload Certificate to BIG-IQ 5.3 with REST
- Sep 28, 2017
Greetings, I was able to upload, but haven't found the download just yet:
On my linux host:
cat fileo hey curl -s -k -u admin:admin -H 'Content-Type: text/plain' -H 'Content-Range: 0-2/3' -d @fileo -X POST https://172.24.171.25/mgmt/shared/file-transfer/uploads/fileo
On BIG-IQ (5.3):
cat /var/config/rest/downloads/fileo hey
Will let you know if I can find the download method.
Kevin
Greetings, I was able to upload, but haven't found the download just yet:
On my linux host:
cat fileo
hey
curl -s -k -u admin:admin -H 'Content-Type: text/plain' -H 'Content-Range: 0-2/3' -d @fileo -X POST https://172.24.171.25/mgmt/shared/file-transfer/uploads/fileo
On BIG-IQ (5.3):
cat /var/config/rest/downloads/fileo
hey
Will let you know if I can find the download method.
Kevin
Looks like I had two issues going on: 1) Token auth is not accepted on this endpoint (confirmed on our LTM devices as well) and 2) BIG-IQ doesn't accept basic auth by default (https://support.f5.com/csp/article/K43725273)
Once I enabled basic auth on BIG-IQ and switched my code to use basic auth, the uploads started to work.
Thanks!
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