Can I set up Client Certificate at runtime with Python Client?

155 views
Skip to first unread message

XH

unread,
Nov 2, 2015, 4:07:53 PM11/2/15
to OWASP ZAP User Group
Hi,

I may need to specify client certificate to communicate some target with some recorded traffic. I found some method in javadoc may be helpful such as setClientCertLocation(String clientCertLocation) and isUseClientCert(). However, I do not find any interface related to those function exposed in python client. Could someone get me how to set the client cert at runtime? 

Thank you in advance!

Regards,
XH

thc...@gmail.com

unread,
Nov 3, 2015, 12:02:47 PM11/3/15
to zaprox...@googlegroups.com
Hi.

It's not possible to add/select client certificates through the ZAP API.

Would you mind raising an issue? [1]


[1] https://github.com/zaproxy/zaproxy/issues/new

Best regards.

On 02/11/15 21:07, XH wrote:
> Hi,
>
> I may need to specify client certificate to communicate some target with
> some recorded traffic. I found some method in javadoc may be helpful
> such as |*setClientCertLocation*(String
> <http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true> clientCertLocation)|
> and |*isUseClientCert*()|. However, I do not find any interface related
> to those function exposed in python client. Could someone get me how to
> set the client cert at runtime?
>
> Thank you in advance!
>
> Regards,
> XH
>
> --
> You received this message because you are subscribed to the Google
> Groups "OWASP ZAP User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to zaproxy-user...@googlegroups.com
> <mailto:zaproxy-user...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

XH

unread,
Nov 3, 2015, 5:55:37 PM11/3/15
to OWASP ZAP User Group
As suggested by thc202. A ticket is open in github at https://github.com/zaproxy/zaproxy/issues/2023

Regards,
XH

thc...@gmail.com

unread,
Nov 3, 2015, 7:04:25 PM11/3/15
to zaprox...@googlegroups.com
Thanks!

Best regards.

On 03/11/15 22:55, XH wrote:
> As suggested by thc202. A ticket is open in github
> at https://github.com/zaproxy/zaproxy/issues/2023
>
> Regards,
> XH
>
> On Monday, November 2, 2015 at 4:07:53 PM UTC-5, XH wrote:
>
> Hi,
>
> I may need to specify client certificate to communicate some target
> with some recorded traffic. I found some method in javadoc may be
> helpful such as |*setClientCertLocation*(String
> <http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true> clientCertLocation)|
> and |*isUseClientCert*()|. However, I do not find any interface
> related to those function exposed in python client. Could someone
> get me how to set the client cert at runtime?
>
> Thank you in advance!
>
> Regards,
> XH
>
Reply all
Reply to author
Forward
0 new messages