How to configure two way SSL connection in Spring WS without using Spring boot and using separate Apache tomcat server?

前端 未结 4 696
Happy的楠姐
Happy的楠姐 2021-02-06 08:16

I need to send a soap request messages in a two way SSL connection security mechanism to a server and also process the Soap response from the server..I am using Spring M

4条回答
  •  心在旅途
    2021-02-06 08:33

    I think the best thing you can do is configure a http server with SSL in front of your service. So you don't need to expose your service direct to the internet neither configure SSL in your services. And you can reuse it when you create more service.

    Below I'm listing a tutorial to configure Nginx and Apache with SSL certificate and as a reverse proxy to your service.

    SSL certificates:

    Nginx
    Nginx Two way SSL tutorial
    Apache

    Reverse Proxy:
    Nginx
    Apache

提交回复
热议问题