[
https://issues.redhat.com/browse/JBWS-4216?page=com.atlassian.jira.plugin...
]
Jim Ma commented on JBWS-4216:
------------------------------
The script to generate the certificate for WSTrustTest#testActAs :
{code:java}
keytool -genkeypair -validity 3600 -keyalg RSA -alias myactaskey -keystore actasstore.jks
-dname "CN=www.actas.com, OU=IT Department, O=Sample ActAs Web Service -- NOT FOR
PRODUCTION, L=Dayton, ST=Ohio, C=US" -keypass aspass -storepass aapass
keytool -export -rfc -keystore actasstore.jks -alias myactaskey -file myactaskey.cer
-storepass aapass
keytool -import -noprompt -trustcacerts -file myactaskey.cer -alias actasclient -keystore
stsstore.jks -storepass stsspass
keytool -export -rfc -keystore stsstore.jks -alias mystskey -file mystskey.cer -storepass
stsspass
keytool -import -noprompt -trustcacerts -file mystskey.cer -alias mystskey -keystore
actasstore.jks -storepass aapass
keytool -import -noprompt -trustcacerts -file myactaskey.cer -alias myactaskey -keystore
clientstore.jks -storepass cspass
{code}
Replace the expired certificates for WSTrustTestCase
------------------------------------------------------
Key: JBWS-4216
URL:
https://issues.redhat.com/browse/JBWS-4216
Project: JBoss Web Services
Issue Type: Bug
Components: ws-security
Affects Versions: jbossws-cxf-5.4.2.Final
Reporter: Jim Ma
Assignee: Jim Ma
Priority: Major
Fix For: jbossws-cxf-5.4.3.Final
There are WSTrustTest failures due to expired certificates :
[ERROR] WSTrustTestCase.test:285 » SOAPFault The specified request failed
[ERROR] WSTrustTestCase.testActAs:420 » SOAPFault The specified request failed
[ERROR] WSTrustTestCase.testBearer:539 » SOAPFault A security error was encountered
wh...
[ERROR] WSTrustTestCase.testHolderOfKey:482 » SOAPFault A security error was
encounter...
[ERROR] WSTrustTestCase.testNoClientCallback:355 » SOAPFault The specified request
fai...
[ERROR] WSTrustTestCase.testNoSignatureUsername:388 » SOAPFault The specified request
...
[ERROR] WSTrustTestCase.testOnBehalfOf:455 » SOAPFault The specified request failed
[ERROR] WSTrustTestCase.testPicketLink:512 » SOAPFault The provided certificate is
inv...
[ERROR] WSTrustTestCase.testUsingEPR:320 » SOAPFault The specified request failed
--
This message was sent by Atlassian Jira
(v8.13.1#813001)