I have a apache
server running on amazon linux 2
. I have installed SSL/TLS
using Lets Encrypt and certbot. Now, my website is properly running on https
. Now, I want the CDN
service of cloudfront. When I tried to create a load balancer it requires a SSL/TLS
certificate. In this case, can I provide my certbot certificate in load balancer? If yes, then in which directory my certificate lies in apache
?
can I provide my certbot certificate in load balancer?
Yes, but AWS provides own certificates which is more convenient than let's encrypt (in my opinion). Anyway you need to use AWS certificate manager to register AWS certificate or your own RapidSSL, Let's Encrypt, etc... certificate. If you want to register own certificate you must provide 1. server secret key, 2. certificate, 3. certificate chain.
If yes, then in which directory my certificate lies in apache?
Run
grep -R "SSLCertificateFile" /etc/{APACHE_FOLDER}/conf.d/*
grep -R "SSLCertificateKeyFile" /etc/{APACHE_FOLDER}/conf.d/*
grep -R "SSLCertificateChainFile" /etc/{APACHE_FOLDER}/conf.d/*
Where {APACHE_FOLDER}
is apache2
or httpd
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With