本文介绍了在Amazon ec2用户中安装GoDaddy SSL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我正在使用亚马逊网络服务。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.xGenerating a Certificate Signing Request (CSR) - Apache 2.x 在命令提示符下输入以下内容: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.csr180.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 确保已安装mod_ssl并正在运行。 在实例上上传证书,例如/ home / ec2-user / ssl 编辑/etc/httpd/conf.d/ssl.conf 找到以下几行并进行相应的替换(验证文件名和路径正确) 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.crtEnsure that you have installed mod_ssl and it is running.Upload your certificates on Instance say /home/ec2-user/sslEdit /etc/httpd/conf.d/ssl.confFind below lines and replace accordingly (Verify the filename andpath are correct)SSLCertificateFile /home/ec2-user/ssl/certs/site.com.crtSSLCertificateKeyFile /home/ec2-user/ssl/keys/site.keySSLCACertificateFile /home/ec2-user/ssl/ssl_files/gd_bundle.crt 这篇关于在Amazon ec2用户中安装GoDaddy SSL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-24 18:46
查看更多