Set client certificate runtime

I have a scenario where one of the API calls returns a client certificate in PEM format. I need to dynamically configure and use this certificate for subsequent API calls during runtime.

I know I can manually configure a client certificate through:
Settings → Certificates → Add Certificate → etc.
This works perfectly when set up manually.

However, in my scenario, each test simulates a device registration, where a unique client certificate is issued for each registration. This means I need to configure the certificate dynamically which I get from one of my api calls during the test runtime to ensure it’s used for the following API calls.

Is there a way to achieve this in Apidog?

Is it similar to the mutualTLS type in Security Scheme definitions like those in OpenAPI?


Yes. I need to configure the client certificate runtime

Thanks for the feedback, we will think about how to optimize it.

Any update on this?

It would be also really cool if I could enable and disable what certificate to use for which DNS using only one click, like a checkbox.(I have lots of different client certificates for the same DNS name)

Thank you for your help again

Please bind Knowledge first and click Chat Now to invite Bot to this channel.

We are facing the same issue and would also like to know the solution for dynamically configuring and using client certificates obtained during runtime in Apidog. Thanks in advance for your help!

Is there any workaround how we can achieve setting the client certificate during for example a test case?