I have installed nginx
server in Amazon Linux 2
environment. During creation Elastic Load Balancer I created an free certificate by Amazon. Now, I want to access my server through https
(port 443
). How can I configure this SSL
certificate in nginx.conf
?
SSL configuration in nginx.conf is now commented. I saw it contains two lines like:
# ssl_certificate "/etc/pki/nginx/server.crt";
# ssl_certificate_key "/etc/pki/nginx/private/server.key";
Now, what is the location of Amazon certificate and key file location?