# PKI authentication? Webrat, Selenium, restful-auth...?

**URL:** <https://www.ruby-forum.com/t/pki-authentication-webrat-selenium-restful-auth/190872>\
**Category:** Rails\
**Created:** [June 29, 2010, 5:30pm UTC](https://www.ruby-forum.com/t/pki-authentication-webrat-selenium-restful-auth/190872 "2010-06-29T17:30:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![trevoke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ee7513/32.png) [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Post date:** [June 29, 2010, 5:30pm UTC](https://www.ruby-forum.com/t/pki-authentication-webrat-selenium-restful-auth/190872/1 "2010-06-29T17:30:17Z")

</div>

Hi,  
We are trying to fix a test suite to check an app which uses PKI  
authentication.  
Is there something out there which could make our lives easier? Webrat  
and Selenium don’t seem to support this right now.

Thanks.

---

<div class="post-metadata">

**Author:** ![trevoke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ee7513/32.png) [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Post date:** [June 29, 2010, 5:40pm UTC](https://www.ruby-forum.com/t/pki-authentication-webrat-selenium-restful-auth/190872/2 "2010-06-29T17:40:56Z")

</div>

Aldric G. wrote:

> Hi,  
> We are trying to fix a test suite to check an app which uses PKI  
> authentication.  
> Is there something out there which could make our lives easier? Webrat  
> and Selenium don’t seem to support this right now.

AFAIK, Selenium supports anything that the browser supports. What  
problems are you having?

> Thanks.

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![trevoke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ee7513/32.png) [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Post date:** [June 30, 2010, 9:30pm UTC](https://www.ruby-forum.com/t/pki-authentication-webrat-selenium-restful-auth/190872/3 "2010-06-30T21:30:45Z")

</div>

Marnen Laibow-Koser wrote:

> Aldric G. wrote:
> 
> > Hi,  
> > We are trying to fix a test suite to check an app which uses PKI  
> > authentication.  
> > Is there something out there which could make our lives easier? Webrat  
> > and Selenium don’t seem to support this right now.
> 
> AFAIK, Selenium supports anything that the browser supports. What  
> problems are you having?

Hi Marnen,  
Thanks for the answer. Selenium does indeed support whatever the server  
supports: just a matter of using the right profile. I was thinking about  
the problem incorrectly.

We would like to run some tests without going through the GUI, hence the  
question about Webrat.
