Hoverfly proxy and unnecessary SSL handshake failure

443 views
Skip to first unread message

Timo Tiuraniemi

unread,
Sep 8, 2017, 11:27:46 AM9/8/17
to hoverfly
Hi!

First: thanks for a very nice project! Hoverfly is perfect for my microservice testing needs.

However I can't seem to get the Hoverfly proxy to work with netty-client. An issue I posted about this is here:

https://github.com/reactor/reactor-netty/issues/159#issuecomment-328126909

It seems that Hoverfly for some reason won't let me proxy without SSL support, which causes either the "handshake failed" error. I've also received a "tls: oversized record" failures in other places. I've spent quite a lot of time trying to figure out what is the problem, but can't seem to get it fixed.

Is there something I need to configure in hoverfly to make it work with just plain HTTP? Or what might be going on here?

Thanks,
Timo

John Davenport

unread,
Sep 8, 2017, 12:03:17 PM9/8/17
to Timo Tiuraniemi, hoverfly, Benji Hooper, Andrew Morgan
Hi Timo, I've raised an issue and cross-referenced yours so we don't lose this.

We'll have a look at it next week as more of the team is back from holiday then.

Rgds.



John Davenport

Director of Strategy
SpectoLabs
Office: +44 (0) 2030 789055
Twitter: @tropnevadj / @spectolabs

--
You received this message because you are subscribed to the Google Groups "hoverfly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hoverfly+u...@specto.io.
To post to this group, send email to hove...@specto.io.
To view this discussion on the web visit https://groups.google.com/a/specto.io/d/msgid/hoverfly/acecbd0c-abb4-4f9a-9eb6-253809d66bf7%40specto.io.

Sajal Chakraborty

unread,
Sep 22, 2017, 10:45:27 AM9/22/17
to hoverfly
Hi,

I need to configure hoverfly in proxy and capture mode for underlying HTTPs services, I have JKS file along with password for those backend services. Help required how to configure this in hoverfly.

Currently getting below exception. Please help.

===================
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find vali
d certification path to requested target
        at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
        at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
        at sun.security.validator.Validator.validate(Validator.java:260)
        at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
        at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
        at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
        at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1496)
        ... 57 more
===================
Reply all
Reply to author
Forward
0 new messages