I have a node.js server with express.js framework running on AWS Elastic Beanstalk. I've got the server working fine on http, but I need to update it to https. It's worth noting that the environment is a single-instance environment.

I've been looking through documentation and guides for 4 hours now, and all I've managed to do break all access to my server. I've generated a certificate using Amazon Certificate Manager, and set up my load balancer to take HTTP requests from port 80 and send them to the server on port 80, and take HTTPS requests on port 443 and forward it to the server on port 443. The problem seems to be that the server doesn't listen on port 443. I've tried lots of stuff, including pretty much everything on the AWS Elastic Beanstalk documentation, but it just broke my server entirely. I'm getting pretty desperate, so any help would be appreciated. I'll be happy to answer questions if people need more information.


Set up the load balancer to listen at port 443 and forward the requests to the server on port 80. This is called "SSL Offloading".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.