F5 Python SDK - list certificates on device results in error
python 2.6; TMOS v12.1.1
I'm new to the F5 Python SDK and trying to obtain a list of certificates on a device. Not sure if I'm referencing wrong or if this is a specific issue to my device/configuration. Appreciate any pointers.
Trying to get the collection with:
certificates = mgmt.tm.sys.crypto.certs.get_collection()
Returns the following error:
`Traceback (most recent call last):
File "", line 1, in File "/usr/lib/python2.6/site-packages/f5/bigip/resource.py", line 692, in get_collection self.refresh(kwargs) File "/usr/lib/python2.6/site-packages/f5/bigip/resource.py", line 568, in refresh self._refresh(kwargs) File "/usr/lib/python2.6/site-packages/f5/bigip/resource.py", line 551, in _refresh **requests_params) File "/usr/lib/python2.6/site-packages/icontrol/session.py", line 241, in wrapper raise iControlUnexpectedHTTPError(error_message, response=response) icontrol.exceptions.iControlUnexpectedHTTPError: 400 Unexpected Error: Bad Request for uri: https://:443/mgmt/tm/sys/crypto/cert/ Text: u'{"code":400,"message":"Key management library returned bad status: -4, Invalid Parameter","errorStack":[],"apiError":26214401}'`