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

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

问题描述

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

  • I'm using amazon web service.

我正在使用 linux 实例

I'm using linux instance

我使用的是 GoDaddy SSL.

I'm using GoDaddy SSL.

我正在按照以下步骤操作: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

像这样.现在可以复制并粘贴到 go daddy 中了.

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

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

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