Quantcast
Viewing all articles
Browse latest Browse all 1516

how to configure https with aws ec2 loadbalancer [closed]

I have configured https for my fastapi server using AWS application load balancer

server {    listen 80;    listen 443 ssl;    ssl on;    ssl_certificate /etc/nginx/ssl/server.crt;    ssl_certificate_key /etc/nginx/ssl/server.key;    server_name 18.116.199.161;    location / {        proxy_pass http://127.0.0.1:8000;    }}

According to aricles and resources they say I have to have

ssl_certificate ssl_certificate_key 

To configure https in the server. How to get these details or is there any other way to achive this in AWS.

I cant see any place to retrive these keys and certificates in aws.

Image may be NSFW.
Clik here to view.
enter image description here

I can only export this from the certificate.


Viewing all articles
Browse latest Browse all 1516

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>