Service Virtualization

  • 1.  Particular port not working with secured virtual service..

    Posted Nov 30, 2017 07:38 AM

    Hello All,

     

    Please assist me. I am using one port in secured service but that is not working and giving SSL exception. But other ports are working fine. What can be reason behind this ? and how we can sort out this issue?

     

    Please advise and help.

     

    Cheers..

    Shivam Garg



  • 2.  Re: Particular port not working with secured virtual service..

    Broadcom Employee
    Posted Nov 30, 2017 10:21 AM

    Hi Shivam,

     

    Please share the exception you're seeing.

     

    --Mike



  • 3.  Re: Particular port not working with secured virtual service..

    Posted Dec 01, 2017 08:44 AM

    Hello Mike,

     

    We are getting below exception when testing in Lisa test case while for other ports we are getting response.

     

    ============================================================================ | HTTP ============================================================================ | Message: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated ---------------------------------------------------------------------------- | Trapped Exception: peer not authenticated | Trapped Message: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated ---------------------------------------------------------------------------- STACK TRACE javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at sun.security.ssl.SSLSessionImpl.getPeerCertificates(Unknown Source) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:572) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) at org.apache.http.impl.conn.ManagedClientConnectionImpl.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.execute(AbstractHttpClient.java:906) at com.itko.lisa.test.CommTrans.doSend(CommTrans.java:1000) at com.itko.lisa.test.CommTrans.send(CommTrans.java:795) at com.itko.lisa.test.CommTrans.sendGET(CommTrans.java:747) at com.itko.lisa.test.URLTrans.doSend(URLTrans.java:280) at com.itko.lisa.test.URLTrans.doWebTrans(URLTrans.java:222) at com.itko.lisa.test.URLTransBase.execute(URLTransBase.java:491) at com.itko.lisa.editor.URLTransEditor$3$1.run(URLTransEditor.java:244) ============================================================================



  • 4.  Re: Particular port not working with secured virtual service..

    Posted Nov 30, 2017 03:40 PM

    Hi,

         I assume  the port is on Lisa server  and if the server is Linux,did you check the port status using netstat command.

    Thanks,

    Vish



  • 5.  Re: Particular port not working with secured virtual service..
    Best Answer

    Posted Dec 04, 2017 06:36 PM

    Shivan,

     

    Verify if the port that is not working is also being used by a no SSL service (HTTP).

    You won't be able to have HTTPS and HTTP virtual services listening on the same port.

     

    Hope it helps.

    Heloisa