Forum Discussion
Bastian123234_2
Nimbostratus
Jul 19, 2017Modifying SSL Profile via REST API
Hello everyone,
Iam currently testing the REST API and having trouble with some simple changes on a SSL profile. Iam using local authentication, trying to modify a certificate used in a test pro...
- Jul 20, 2017
thanks for your feedback PK, but i found the issue:
- first of all, I pulled the whole profile, changed the settings and pushed it again. This does not work. You have to push only the values you want change, in this case "cert", "key", and "chain".
- second: i tried to change the mentioned values in "certKeyChain", however there are other key/value pairs within the hash I needed to change. It is a bit confusing, since they have the same name, and from my point of view, it makes more sense that the ones in the certKeyChain are the correct ones, but this is not the case.
so all i had to push is:
{"cert"=>"/Common/new_test.crt", "key"=>"//Common/new_test.key", "chain"=>"/Common/new_test.crt"}
It sounds like you want to check each key in the data group and see if it matches the requested URI. If it does, you want to get the corresponding value from that element and use it in a redirect.
I think the example I posted does what you're asking. If that's not the case, can you clarify further what you're trying to do?
Thanks, Aaron
- mikeshimkus_111Aug 14, 2014Historic F5 Account
Hi, first of all I recommend using the f5.microsoft_exchange_2010_2013_cas.v1.3.0 template that's available on downloads.f5.com (v1.4.0 is in test right now and we hope to release it soon). That has several new features and bug fixes.
Assuming this only happens when you are using APM, if you go to System>Logging and set access policy and sso logging to debug and run a "tail -f /var/log/apm" while the problem is occurring, you should be able to find the cause of the prompts. Feel free to post the sanitized logs here and I'll have a look.
Mike