Apache Ignite - how to enable HTTPS Rest API - https

This works (http):
http://ip-address:port/ignite?cmd=version
This does not (httpS):
https://ip-address:port/ignite?cmd=version
How to enable httpS for Ignite?

REST API is based on Jetty server, so you need to configure SSL connector and certificates. Please refer [1, 2] for details.
[1] https://apacheignite.readme.io/docs/rest-api#general-configuration
[2] https://wiki.eclipse.org/Jetty/Howto/Configure_SSL

Related

Spring Cloud Gateway with SSL cannot route to service by name

I had enable SSL on Spring Cloud Gateway service, and after that routing such as
.route("instruments-ui", r -> r.path("/instruments/**")
.filters(f -> f.filter(addCredentials.apply()).preserveHostHeader())
.uri("lb://instruments-ui"))
ceased normally working. If I change uri to real address such as http://localhost:8001 routing working right. I use Gateway version 2.0.0.RC1. Can anybody explain how to setup Spring Cloud Gateway + routing with Eureka data + SSL?
If your Gateway works with SSL and downstream services works without it, then you need to specify uri as for example .uri("lb:http://instruments-ui"). I found it after viewing LoadBalancerClientFilter class.

WSO2 Identity Server 5.3.0 & API Manager 2.1.0 same ports?

Currently I configure WSO2 Identity Server 5.3.0 and API Manager 2.1.0 in one same server. For Identity server 5.3.0 run as "9443" and API Manager run as "9444" ports.
Is there any way to make both of this WSO2 products using "HTTPS" which is run in same "443" ports?
http://xacmlinfo.org/2014/11/16/how-to-developing-identity-server-behind-proxy-or-load-balancer/
I have already try to config the proxy based on this link and also other WSO2 documentation and it unsuccessful.
If can, is there any proper configuration guide on how to config?
Kindly required a guidline.
You can refer WSO2 Documentation for this.

How to configure client certificates in Jetty + Spring

We are using a Jetty server along with Spring security framework. The server should accept requests from only from a known client (Which is also a server). We want to configure client certificates so that Jetty accepts only the requests with the known client certificate.
How can we configure the server?
All we need to do is set NeedClientAuth in jetty-ssl-config.xml to true. No change is needed in Spring config.

wso2 api manager cloudfoundry

I am trying to deploy wso2 api manager to cloudfoundry.
I have created a buildpack including the wso2 api manager. I am able to start the tomcat server and listen to http port. The https redirect doesn't work, an infinite redirect happens, when accessing https only urls like publisher. I tried changing the proxyport in catalina-server.xml (tried adding X-Forward-Proto in remote valve config). http urls work
According to This blog post this is a limitation, I assume.
The existing CF architecture only supports exposing one port from a
container. Therefore a WSO2 server cluster can only expose one
transport from CF.

Converting http request into https request in Spring 3 application

My application works on http request. I wanted to change that to https.
I am using Spring 3 framework and Tomcat 7 Server.
I don't know from where to start or how to do this.
Please suggest.
Thanks.
This is a Tomcat setting. You need to replace your HTTP Connector with an HTTPS Connector. This requires a bit of setting up but it's all described here.

Resources