[JIRA] [testlink] (JENKINS-20752) TestLink is unable to get the devKey

235 views
Skip to first unread message

louveteau87@msn.com (JIRA)

unread,
Nov 25, 2013, 4:50:59 AM11/25/13
to jenkinsc...@googlegroups.com
Issue Type: Bug Bug
Assignee: Bruno P. Kinoshita
Components: testlink
Created: 25/Nov/13 9:50 AM
Description:

Hi,
i am making some test automation with Jenkins and testlink, but when I launch a build, Jenkins's build failed because the plugin testlink can't read the developer's key.
This is the error output :

Preparing TestLink client API.
Using TestLink URL: https://testlink-test-transport.parkeon.com/lib/api/xmlrpc/v1/xmlrpc.php

FATAL: Error verifying developer key: Failed to read server's response: java.security.cert.CertificateException: No subject alternative DNS name matching testlink-test-transport.parkeon.com found.
br.eti.kinoshita.testlinkjavaapi.util.TestLinkAPIException: Error verifying developer key: Failed to read server's response: java.security.cert.CertificateException: No subject alternative DNS name matching testlink-test-transport.parkeon.com found.

I am using Testlink 1.9.8, Jenkins 1.536, testLink Plugin 3.8
Plz help me Bruno ^^

Environment: Testlink 1.9.8, Jenkins 1.536, testLink Plugin 3.8
Project: Jenkins
Priority: Major Major
Reporter: Jeanjean LaGuigne
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

louveteau87@msn.com (JIRA)

unread,
Nov 25, 2013, 5:02:57 AM11/25/13
to jenkinsc...@googlegroups.com
Change By: Jeanjean LaGuigne (25/Nov/13 10:02 AM)
Description:
Hi,
i am making some test automation with Jenkins and testlink, but when I launch a build, Jenkins's build failed because the plugin testlink can't read the developer's key.
This is the error output :

Preparing TestLink client API.
Using TestLink URL: https://testlink- test-transport compagnie . parkeon. com/lib/api/xmlrpc/v1/xmlrpc.php

FATAL: Error verifying developer key: Failed to read server's response: java.security.cert.CertificateException: No subject alternative DNS name matching testlink-
test-transport compagnie . parkeon. com found.
br.eti.kinoshita.testlinkjavaapi.util.TestLinkAPIException: Error verifying developer key: Failed to read server's response: java.security.cert.CertificateException: No subject alternative DNS name matching testlink-
test-transport compagnie . parkeon. com found.


I am using Testlink 1.9.8, Jenkins 1.536, testLink Plugin 3.8
Plz help me Bruno ^^

louveteau87@msn.com (JIRA)

unread,
Nov 26, 2013, 2:47:57 AM11/26/13
to jenkinsc...@googlegroups.com
Change By: Jeanjean LaGuigne (26/Nov/13 7:47 AM)
Description:
Hi,
i am making some test automation with Jenkins and testlink, but when I launch a build, Jenkins's build failed because the plugin testlink can't read the developer's key.
This is the error output :

Preparing TestLink client API.
Using TestLink URL: https://testlink-compagnie.com/lib/api/xmlrpc/v1/xmlrpc.php

FATAL: Error verifying developer key: Failed to read server's response: java.security.cert.CertificateException: No subject alternative DNS name matching testlink-compagnie.com found.
br.eti.kinoshita.testlinkjavaapi.util.TestLinkAPIException: Error verifying developer key: Failed to read server's response: java.security.cert.CertificateException: No subject alternative DNS name matching testlink-compagnie.com found.

--------------------------------------------------------------------------

and if
I  change the url https --> http i got this error

Preparing TestLink client API.
Using TestLink URL: http://testlink-compagnie.com/lib/api/xmlrpc/v1/xmlrpc.php

FATAL: Error verifying developer key: HTTP server returned unexpected status: Found
br.eti.kinoshita.testlinkjavaapi.util.TestLinkAPIException: Error verifying developer key: HTTP server returned unexpected status: Found


I
 am using Testlink 1.9.8, Jenkins 1.536, testLink Plugin 3.8

Plz help me Bruno ^^

helioxentric@gmail.com (JIRA)

unread,
Nov 28, 2013, 5:53:57 PM11/28/13
to jenkinsc...@googlegroups.com

I did too encountered this problem, but it was solved by reading the PDF. I had to generate a developer key in Testlink and added in Jenkins Testlink settings.

(Sorry if that is not your case.)

louveteau87@msn.com (JIRA)

unread,
Dec 11, 2013, 2:03:41 PM12/11/13
to jenkinsc...@googlegroups.com

Hehe this is not my case, the Teslink Server has a ssl auth. So I added the certificate in my trust Key on java, but nothing change : x
Thanks anyway.

louveteau87@msn.com (JIRA)

unread,
Dec 11, 2013, 2:03:56 PM12/11/13
to jenkinsc...@googlegroups.com

Hi,
I added the certificate in my java_home default keystore, and the path in my jenkins.xml :

-Djavax.net.ssl.keyStoreType=jks -Djavax.net.ssl.keyStore=C:\Java\jdk1.7.0_45\jre\lib\security\cacerts -Djavax.net.ssl.keyStorePassword=changeit -Djavax.net.ssl.trustStore=C:\Java\jdk1.7.0_45\jre\lib\security\cacerts -Djavax.net.ssl.trustStorePassword=changeit

It should work, but not i still have the "FATAL: Error verifying developer key: Failed to read server's response: java.security.cert.CertificateException: No subject alternative DNS name matching"

fderunes@gmail.com (JIRA)

unread,
Dec 11, 2013, 2:03:55 PM12/11/13
to jenkinsc...@googlegroups.com

I got this ssl problem too. Make sure you update the right jvm.
Jenkins if you use it on windows as a service is using its own jre.
So you need to update its certificate (not the JAVA_HOME one)

brunodepaulak@yahoo.com.br (JIRA)

unread,
Dec 17, 2013, 8:02:37 PM12/17/13
to jenkinsc...@googlegroups.com
Change By: Bruno P. Kinoshita (18/Dec/13 1:01 AM)
Status: Resolved Closed
Reply all
Reply to author
Forward
0 new messages