Forum Discussion
Steve_Brown_882
Jul 13, 2009Historic F5 Account
more pyControl questions
I am on to a new script and I just can't seem to get the code to work. I am trying to use
Management_KeyCertificate.certificate_request_import_from_file(
mode = 0, I...
L4L7_53191
Nimbostratus
Jul 14, 2009Here's an example of some code that works syntax wise:
In [20]: b.Management_KeyCertificate.key_import_from_file(mode = 'MANAGEMENT_MODE_DEFAULT', key_ids = ['testKey.key'], file_names = ['/config/ssl/ssl.key/testKey.key'], overwrite = 1)
Notice that the file is located on the LTM, as opposed to the local filesystem. Have a look at some of the import calls that will allow you to do this.
HTH,
Matt
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