install aws ssl certificate on ec2 code example
Example: install ssl certificate on aws ec2 instance ubuntu
There is a tutorial which have step by step ssl certificate configuration.
Please check the following 2 link:
Simplest way to Use our SSL Certificates with Amazon EC2 Ubuntu Server
Configure Apache Web Server on Amazon Linux to use SSL/TLS
Same type of answer is available here: https://serverfault.com/questions/745408/how-to-enable-ssl-on-ubuntu-apache2-ec2-instance-correctly