I'm not exactly sure how this relates to STAF/STAX.  Are you executing 
this code as a <script> in a STAX job?  If so then you will need to 
determine if it executes outside of STAF/STAX, i.e. run it as a standalone 
Python script.  If that works then you will need to verify that it works 
with Jython version 2.1, which is the Python implementation used in STAX, 
from http://www.jython.org/download.html

David Bender
STAF/STAX Development
8-1268 (512-838-1268) 
IBM Austin Bldg. 903-5B002
Internet: [EMAIL PROTECTED]




"cheerla sreehari" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
06/12/2008 06:59 AM

To
staf-users@lists.sourceforge.net
cc

Subject
[staf-users] Certificate Issue






Hi All

class TestDefaultServer(unittest.TestCase):

    seleniumHost = 'localhost'
    seleniumPort = str(4444)
    browserStartCommand = "*firefox"
    browserURL = "https:/<HOSTNAME/"
    def setUp(self):
        print "Using selenium server at " + self.seleniumHost + ":" + 
self.seleniumPort
        self.selenium = selenium(self.seleniumHost, self.seleniumPort, 
self.browserStartCommand, self.browserURL)
        self.selenium.start()

    def testLinks(self):
        selenium = self.selenium
        selenium.open("zenworks/jsp/Login.jsp")
        selenium.type("username", "Administrator")
        selenium.type("password", "novell")
        selenium.click("loginButton")


I am using the code like above . I am trying to access site which has 
certificates( https ) using selenium . But I am not able to access this 
using selenium  using the above code .
I am getting the error as follows :
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

Please help me out in solving this issue . I am struggling with this very 
much .

Thanks ,
SreeHari CH
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to