Error while using jetty&http component for invoking HTTPS based service -

Posted on

When trying to invoke a HTTPS based service(public service without any auth) in camel,

   Caused by: javax.net.ssl.SSLKeyException: RSA premaster secret error
   Caused by: java.security.NoSuchAlgorithmException: SunTlsRsaPremasterSecret KeyGenerator not available

But I am able to invoke the service via Junit test. This exception is there only once it is deployed on to Fuse.