Having an option to select which client certificate to use under the same url #20117
Replies: 4 comments
-
@aroldohernandezarmas have you seen any movement on this? |
Beta Was this translation helpful? Give feedback.
-
I have a similar scenario and could use a way to pick which cert to use. |
Beta Was this translation helpful? Give feedback.
-
This is also a valid use case for tests I am writing, where I need the capability to dynamically select a client certificate in the same pipeline run, rather than running a separate pipeline with a different value in my configuration. |
Beta Was this translation helpful? Give feedback.
-
I am also have the same scenario |
Beta Was this translation helpful? Give feedback.
-
On the version 8.0.0 was introduced the possibility to configure cypress with client certificates for TLS client authentication. Now it is possible to specify an url pattern and a set of trusted CAs plus a set of client key/certificate pairs that can be used for the TLS handshake. I have made a search and so far couldn't find how if we specify more than one key/certificate pair per url, can we decide which one to use while running the tests.
I am trying to implement an E2E test using cypress and client cert authentication, and need more than one pair of key/certificate to verify different use cases under the same site and don't know how or if it's possible to choose specifically one pair at runtime.
Is it there any way to achieve this using only cypress?
Is it there any alternative known solution that can be used together with cypress to solve this?
Beta Was this translation helpful? Give feedback.
All reactions