Page 1 sur 1

Test d'un webservice avec certificat auto signé

Publié : mer. oct. 31, 2018 5:28 pm
par Quentin Lorthois
J'essaie de tester un webservice qui possède un certificat auto signé.

La suite de test passe correctement sur Soap UI.

Par contre lorsque j’intègre mon workspace Soap UI dans un test squash TA le job échoue avec l'erreur suivante:

TestCase 'XXXXXXXX' of TestSuite 'XXXX' : FAILED

--> Step 'XXXXXXXX' : FAILED :
- javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Avez vous une idée de comment fournir le trustore (qui contiendrai le certificat), ou bien de supprimer la vérification du certificat comme cela est fait sur Soap ui ?

Re: Test d'un webservice avec certificat auto signé

Publié : lun. juil. 15, 2019 11:06 am
par imhashir
I am having this exact same issue. Anyone here please help.