Setup an SSL certificate on an EC2 instance

后端 未结 3 926
一生所求
一生所求 2021-01-31 19:16

I\'m having hard time trying to setup an SSL certificate (it\'s a Comodo PositiveSSL purshased from NameCheap) on my EC2 micro instance (I\'m using Amazon Linux AMI 2012.3, whic

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-31 20:12

    Looking at your list, it happens that you forget to enable your configuration with your Virtual host.

    sudo a2enmod ssl
    sudo a2ensite default-ssl
    sudo /etc/init.d/apache2 restart
    

    There is a complete guide on how to install an SSL certificate on your EC2 here https://medium.com/@adnanxteam/how-to-add-ssl-certificate-to-laravel-on-ec2-aws-18104cc036d1

提交回复
热议问题