Unable to connect to my application securely in HTTPS

0

Hello everybody.

I currently host my app on a Windows VPS with Amazon. The app works great when I use it on the internet at the domain address that points to my IP address. However, the application is not secure because it is not in HTTPS. So for everything to be safe I have activated an SSL certificate which works well on my Windows server as you can see on the screenshot where we see that I can go to the login box without problem and we can see that the page is secure with the small padlock.

Saisissez la description de l'image ici

On the other hand, when I connect to one of my applications I receive this as a message (see screenshot below.)

Saisissez la description de l'image ici

And when I try to go to the page where I can connect directly to an application, I receive this as a message (see screenshot below).

Saisissez la description de l'image ici

Is this not working because my apps are running with their own server which is the Tomcat server which is installed on my Windows VPS and if that is the problem is there anyone who can tell me how run my applications that use a Tomcat server on a Windows VPS so that when you enter my applications they are in HTTPS.

Thanks for your help.

已提问 1 年前307 查看次数
2 回答
0

It sounds like your using Lightsail, I would suggest you set up a load balancer in front of your application server and configure it to use a certificate (SSL). You then don't need to have SSL configured on your server. Here are the two articles that I think will help:

Once you have this in place, your instance doesn't need to be accessible from the outside, which will make it more secure.

Hope this helps.

profile picture
已回答 1 年前
0

Your Java servlet is throwing an error and I would read that carefully (I'm not 100% familiar with what is behind this so I'm deliberately being vague) - but given that it is saying "domain parameter is not specified" you need to configure whatever that is. Perhaps the certificate name, hostname or something else does not match what it expects?

profile pictureAWS
专家
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则