How can I secure my Lightsail instance?

0

Despite of trying, I feel I am doing something wrong.

Main problem: my WebGL game uses WSS (since the domain is hosted on Vercel, thus uses certificate). But when I run it it throws that cannot connect insecure websocket when using a protected url. The lightsail instance is used to host the server for the game, that is all the api and all communicatjon

So i tried adding a distribution, yet no solution certbot always says that the domain is unauthorised when trying to issue a certificate.

Anyone have some suggestion of how to secure the api hosted on lightsail?

Kd_67
asked 8 months ago218 views
1 Answer
0

Hello.
Am I correct in understanding that you issued the SSL certificate according to the procedure in the following document?
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-create-a-distribution-certificate

If so, please make sure that the value of the CNAME record is registered in the DNS zone.
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-validating-a-distribution-certificate

profile picture
EXPERT
answered 8 months ago
  • If I create a certification, it fails autovalidation. Then even after adding the given data for CNAME, it does nothing. It sits there mentioning as a fail.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions