'Rest Api SSL on tomcat server
Setup:
I have setup a front-end(Next.js) and backend kotlin-api. I use Cloudflare with SSL turned full on. I have setup SSL using certbot on both of these. This is setup on AWS Elastic Beanstalk. I have been able to connect to the SSL locally(only the api) and tested it.
When I try to let the Next.js(Nginx) speak to kotlin-api(Tomcat), I get ERR_CONNECTION_REFUSED.
**Just not I don't want to use AWS load balancer to save some monies, also I must mention my SSL knowledge is limited
My questions is the following:
- Not certain if I missed something, is my thinking correct here? What could I be missing?
- Is there possibly a different setup I could pursue?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|