aws ec2 ubuntu ssh code example
Example 1: ssh into ec2 from ubuntu
sudo chmod 400 ec2.pem
ssh -i ec2.pem [email protected]
Example 2: 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