How to get x509 certifikate

soapUI pro announcements and discussions

How to get x509 certifikate

Postby RJanecek » 24 May 2012 15:54

Here I read how to import certificate:
http://www.soapui.org/SOAP-and-WSDL/app ... ruststores

is there option how I can get x509 certifikate certifiace to viariable in groovy script ?
RJanecek
Full Member
Full Member
 
Posts: 202
Joined: 02 Sep 2010 15:57

Re: How to get x509 certifikate

Postby RJanecek » 01 Jun 2012 09:30

still no answer after one week ?!?
RJanecek
Full Member
Full Member
 
Posts: 202
Joined: 02 Sep 2010 15:57

Re: How to get x509 certifikate

Postby RJanecek » 07 Jun 2012 08:29

still no answer after two weeks ?!? I already write one post: viewtopic.php?f=2&t=13393 about this inactive forum and I still doesnt see any changes. When your change your attitude to this forum ?!?
RJanecek
Full Member
Full Member
 
Posts: 202
Joined: 02 Sep 2010 15:57

Re: How to get x509 certifikate

Postby SmartBear Support » 08 Jun 2012 16:21

The keystore can be accessible by using the getCrypto() method on the KeyMaterialWssCrypto class. However, it's not really designed to be easily accessible through Groovy, so you may have to to a bit of boiler plate code to get it working.

There is also a test for soapUI cryptos (keystores) found here: svn://svn.eviware.com/soapui/branches/s ... oTest.java that you might might useful.

Ref: http://www.soapui.org/apidocs/com/eviwa ... rypto.html

Hope this helps!

---
Regards

Erik
SmartBear Support
SmartBear Support
Administrator
Administrator
 
Posts: 6702
Joined: 16 Feb 2009 10:53


Return to soapUI Pro Support