I am trying my Hands-on ACM for SSL certificates.
I have requested a public certificate for a domain 'prod.yp-uae.waveaxis.space' which is attached to a load balancer. I have also added the Https listener to the load balancer.
The ACM dashboard shows the certificate to be in use.
But when I use the domain name in the browser it shows not normal non-secure link http://prod.yp-uae.waveaxis.space/
I assume it is because of the virtual host that I have set on apache2. Below is the code for my virtual host:
<VirtualHost *:80>
ServerName prod.yp-uae.waveaxis.space
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:8380/
ProxyPassReverse / http://127.0.0.1:8380/
</VirtualHost>
#<VirtualHost *:443>
#</VirtualHost>
I am aware of configuring 443 port as below(just an example)
SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
SSLCertificateFile "/var/www/www.foo.com/ssl/server.crt"
SSLCertificateKeyFile "/var/www/www.foo.com/ssl/server.key"
The thing I am wondering on is how can I get my ACM SSL certificate on my Ec2 machine for the variable 'SSLCertificateFile' 'SSLCertificateKeyFile'?
OR
Am I missing some other part as well?
Here is my ALB's security group: