Re: iginte REST API using HTTPS

2018-12-04 Thread Ilya Kasnacheev
Hello!

This sounds more like a Jetty issue. Having said that, I doubt that Jetty
will be able to use Ignite's sslContextFactory

See the jetty's configuration:
https://www.eclipse.org/jetty/documentation/current/configuring-ssl.html#configuring-sslcontextfactory

Regards,
-- 
Ilya Kasnacheev


вт, 4 дек. 2018 г. в 05:53, Shesha Nanda :

> Hi,
>
> I am trying add ssl security for the ignite to access iginte REST API
> using HTTPS. I have fallowed below steps:
>
> I have enabled the ssl by adding below configurations.
>
> 
>  class="org.apache.ignite.configuration.ConnectorConfiguration">
>  value="/home/test/jetty-server.xml" />
> 
>
> 
> 
> 
>
> 
>   
> 
>  value="/opt/ssl/ignite-keystore.jks" />
>  />
>  value="/opt/ssl/ignite-truststore.jks" />
>  value="test1234" />
>   
> 
>
>
> I am able to see [authentication=off, tls/ssl=on]  in the logs.
>
>
> Getting below error when I tried to access REST API using HTTPS request .
>
> curl https://localhost:8443/ignite?cmd=version
> curl: (35) SSL received a record that exceeded the maximum permissible
> length.
>
> If i try with http it's working
> curl http://localhost:8080/ignite?cmd=version
>
>
> Please let me know the configurations to enable SSL and access REST API
> using HTTPS
>
> --
> *Regards*
> *Sheshananda Naidu,*
> *+91-9035063060*
>


iginte REST API using HTTPS

2018-12-03 Thread Shesha Nanda
Hi,

I am trying add ssl security for the ignite to access iginte REST API using
HTTPS. I have fallowed below steps:

I have enabled the ssl by adding below configurations.











  





  



I am able to see [authentication=off, tls/ssl=on]  in the logs.


Getting below error when I tried to access REST API using HTTPS request .

curl https://localhost:8443/ignite?cmd=version
curl: (35) SSL received a record that exceeded the maximum permissible
length.

If i try with http it's working
curl http://localhost:8080/ignite?cmd=version


Please let me know the configurations to enable SSL and access REST API
using HTTPS

-- 
*Regards*
*Sheshananda Naidu,*
*+91-9035063060*

http://www.eclipse.org/jetty/configure.dtd;>




20
200



https
8443
true
true















  


  

3
true














false