aws EC2 install SSL certificate from Godaddy

。_饼干妹妹 提交于 2020-08-26 13:35:24

问题


Hello I'm trying to install my SSL certificate from GoDaddy, I expended a lot of days on this but I couldn't install it.

I modify the ssl.conf and I put this lines:

SSLEngine on SSLCertificateFile /etc/httpd/conf/GODADYCERT.crt SSLCertificateKeyFile /etc/httpd/conf/private.key SSLCertificateChainFile /etc/httpd/conf/gd_bundle-xxxx.crt

But when I restart httpd service, can't restart.

Any can help me?


回答1:


  • Ensure that you have installed mod_ssl and it is running.
  • Upload your certificates on Instance say /home/ec2-user/ssl
  • Edit /etc/httpd/conf.d/ssl.conf
  • check for lines and replace accordingly, listed below

    • SSLCertificateFile Location.crt
    • SSLCertificateKeyFile Location.key
    • SSLCACertificateFile Location.crt
  • Restart Apache



来源:https://stackoverflow.com/questions/43441509/aws-ec2-install-ssl-certificate-from-godaddy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!