Forum Discussion
How to download the cert/key file from the /config/filestore/files_d/Common_d/certificate_d/ location?
I could get the file contents when I tried from the CLI. For eg:
1.) cd /config/filestore/files_d/Common_d/certificate_d
2.) vi \:Common\:ExpiryIn365v.crt_43566_1 (or) vi :Common:ExpiryIn365v.crt_43566_1
But I am trying to get the cert/key contents using the below icontrol method:
SystemConfigSync.download_file(filepath, size, offset); where filepath I used are
-
/config/filestore/files_d/Common_d/certificate_d/:Common:ExpiryIn365v.crt_43566_1
-
/config/filestore/files_d/Common_d/certificate_d/\:Common\:ExpiryIn365v.crt_43566_1
-
/config/filestore/files_d/Common_d/certificate_d/Common/ExpiryIn365v.crt_43566_1
-
/config/filestore/files_d/Common_d/certificate_d/ExpiryIn365v.crt_43566_1
In all the above combinations of filepath, I end up with the exceptions either
Common::InvalidArgument (or) Error opening file for read operations.
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