2 Replies Latest reply: Mar 8, 2013 10:48 AM by J2EE_Life RSS

    Program works fine at home, but will not work on my Work domain?

    994271
      I have a java program that works perfectly with one exception it will not execute within my Work's network domain.
      What the program does is login to surveymonkey.com and download an excel spreadsheet.
      Like I mention it works fine except when I try and run it at work.
      This is what I get:

      connecting to surveymonkey logon page...
      Exception in thread "main" javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
      at sun.security.ssl.SSLSessionImpl.getPeerCertificate s(SSLSessionImpl.java:397)
      at org.apache.http.conn.ssl.AbstractVerifier.verify(A bstractVerifier.java:128)
      at org.apache.http.conn.ssl.SSLSocketFactory.connectS ocket(SSLSocketFactory.java:572)
      at com.gargoylesoftware.htmlunit.HtmlUnitSSLSocketFac tory.connectSocket(HtmlUnitSSLSocketFactory.java:1 71)
      at org.apache.http.impl.conn.DefaultClientConnectionO perator.openConnection(DefaultClientConnectionOper ator.java:180)
      at org.apache.http.impl.conn.ManagedClientConnectionI mpl.open(ManagedClientConnectionImpl.java:294)
      at org.apache.http.impl.client.DefaultRequestDirector .tryConnect(DefaultRequestDirector.java:640)
      at org.apache.http.impl.client.DefaultRequestDirector .execute(DefaultRequestDirector.java:479)
      at org.apache.http.impl.client.AbstractHttpClient.exe cute(AbstractHttpClient.java:906)
      at com.gargoylesoftware.htmlunit.HttpWebConnection.ge tResponse(HttpWebConnection.java:171)
      at com.gargoylesoftware.htmlunit.WebClient.loadWebRes ponseFromWebConnection(WebClient.java:1484)
      at com.gargoylesoftware.htmlunit.WebClient.loadWebRes ponse(WebClient.java:1402)
      at com.gargoylesoftware.htmlunit.WebClient.getPage(We bClient.java:304)
      at com.gargoylesoftware.htmlunit.WebClient.getPage(We bClient.java:373)
      at com.gargoylesoftware.htmlunit.WebClient.getPage(We bClient.java:358)
      at surveymonkeytest.Surveymonkeytest.main(Surveymonke ytest.java:104)
      Java Result: 1