Forum Discussion
MauroNunes
Nov 22, 2019Altostratus
How retrieve CSR (format PEM) via REST v14.0.0.1
Hi everyone, It's that possible get the CSR via REST? With SOAP "certificate_request_export_to_pem" it's possible get the CSR from F5. With REST, we can only check the contents and the locat...
- Nov 28, 2019
Sorry for the delay. You can import any files with the below option, It will land in
/var/config/rest/downloads location
curl -kv -u admin:admin -X POST -H "Content-Type: application/octet-stream" -H "Content-Range: 0-1023/1024" --data-binary "@testupload.crt" https://hostname/mgmt/shared/file-transfer/uploads/testupload.crt
For more details, you can articles - https://devcentral.f5.com/s/articles/demystifying-icontrol-rest-part-5-transferring-files
Hope it helps/
MauroNunes
Altostratus
jaikumar_f5
Nov 28, 2019MVP
Sorry for the delay. You can import any files with the below option, It will land in
/var/config/rest/downloads location
curl -kv -u admin:admin -X POST -H "Content-Type: application/octet-stream" -H "Content-Range: 0-1023/1024" --data-binary "@testupload.crt" https://hostname/mgmt/shared/file-transfer/uploads/testupload.crt
For more details, you can articles - https://devcentral.f5.com/s/articles/demystifying-icontrol-rest-part-5-transferring-files
Hope it helps/
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