在Amazon ec2用户中安装GoDaddy SSL [英] installing GoDaddy SSL in Amazon ec2 user

查看:98
本文介绍了在Amazon ec2用户中安装GoDaddy SSL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


  • 我正在使用亚马逊网络服务。

  • I'm using amazon web service.

我正在使用Linux实例

I'm using linux instance

我正在使用GoDaddy SSL。

I'm using GoDaddy SSL.

我正在执行以下步骤:
< a href = http://jafty.com/blog/installing-godaddy-ssl-certificate-on-amazon-ec2/ rel = nofollow> http://jafty.com/blog/installing-godaddy-ssl -certificate-on-amazon-ec2 /

I'm following this steps: http://jafty.com/blog/installing-godaddy-ssl-certificate-on-amazon-ec2/

我被困在这一点上:

生成证书签名请求(CSR)-Apache 2.x

Generating a Certificate Signing Request (CSR) - Apache 2.x


  1. 在命令提示符下输入以下内容:openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr将yourdomain替​​换为要保护的域名。例如,如果您的域名为coolexample.com,则可以输入coolexample.key和coolexample.csr。

我所做的是

openssl req -new -newkey rsa:2048 -nodes -keyout 180.21.80.1.key -out 180.21.80.1.csr

我使用了t1实例的公共IP地址。
我已经生成了密钥和CSR文件。

I used the public IP address of my t1 instance. I have generated a key and CSR files.


180.21.80.1.key

180.21.80.1.key

180.21.80.1.csr

180.21.80.1.csr

像这样。现在可以复制并粘贴到爸爸了。

like this. Now its ready to copy and paste in go daddy.

我的问题是:


  • 我的工作正确吗?

  • 是否必须为我的IP地址创建一个名称,例如域名?

  • 可以吗?如果我犯错了?

推荐答案

参考您提到的链接,请尝试执行以下步骤

With reference to the link you mentioned try following steps


  1. 确保已安装mod_ssl并正在运行。

  2. 在实例上上传证书,例如/ home / ec2-user / ssl

  3. 编辑/etc/httpd/conf.d/ssl.conf

  4. 找到以下几行并进行相应的替换(验证文件名和
    路径正确)

    • SSLCertificateFile /home/ec2-user/ssl/certs/site.com.crt

    • SSLCertificateKeyFile /home/ec2-user/ssl/keys/site.key

    • SSLCACertificateFile /home/ec2-user/ssl/ssl_files/gd_bundle.crt

  1. Ensure that you have installed mod_ssl and it is running.
  2. Upload your certificates on Instance say /home/ec2-user/ssl
  3. Edit /etc/httpd/conf.d/ssl.conf
  4. Find below lines and replace accordingly (Verify the filename and path are correct)
    • SSLCertificateFile /home/ec2-user/ssl/certs/site.com.crt
    • SSLCertificateKeyFile /home/ec2-user/ssl/keys/site.key
    • SSLCACertificateFile /home/ec2-user/ssl/ssl_files/gd_bundle.crt

这篇关于在Amazon ec2用户中安装GoDaddy SSL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆