Forum Discussion
13 years ago
Basically i have the same problem. We use a Smart Card with a non-exportable private key on it.
Did you or anyone find a way to connect usb or smartcard security tokens with soapUI?
My approach until now:
I used a Groovy script to get the Keystore from the Windows Certificate store. Whenever i want to acces the specific key, there is a popup which asks me for the hardware token.
However, i did not find a way to use this keystore object in the following rest request teststep. I dont even know if this is possible by using a script.
This is the Code to get the Keystores from the Windows Keystore:
Did you or anyone find a way to connect usb or smartcard security tokens with soapUI?
My approach until now:
I used a Groovy script to get the Keystore from the Windows Certificate store. Whenever i want to acces the specific key, there is a popup which asks me for the hardware token.
However, i did not find a way to use this keystore object in the following rest request teststep. I dont even know if this is possible by using a script.
This is the Code to get the Keystores from the Windows Keystore:
import java.security.KeyStore
KeyStore ks = KeyStore.getInstance("Windows-MY");
ks.load(null, null);
def aliases = ks.aliases()
for(String alias:aliases){
def cert = ks.getCertificate(alias)
log.info(cert.toString())
}