djangid / rest-assured

Automatically exported from code.google.com/p/rest-assured
0 stars 0 forks source link

Support for p12 #179

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Any plans to support p12 certificate authentication .

What version of the product are you using? On what operating system?
1.6.2

Original issue reported on code.google.com by mpgir...@gmail.com on 14 Jun 2012 at 1:48

GoogleCodeExporter commented 8 years ago
No there are currently no plans for that. But you can probably implement it 
yourself using filters (see documentation) and if you like please share the 
code to the project. Form authentication is implemented using filters so you 
can check the source code and see how that's done.

Original comment by johan.ha...@gmail.com on 18 Jun 2012 at 5:42

GoogleCodeExporter commented 8 years ago
I think you should be able to do this as of version 1.8.1, try something like:

given().auth().certificate("file:///my/project/src/test/resources/soapui.p12",  
"password", "pkcs12", 8443, truststoreProvider)

If it doesn't work then reopen the issue.

Original comment by johan.ha...@gmail.com on 22 Nov 2013 at 4:18