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.
I can only export this from the certificate.