在Amazon AMI(Centos)上使用Let加密 - 甚至无法安装软件包,任何想法?

时间:2017-02-04 18:44:28

标签: amazon-web-services ssl encryption ami certbot

按照以下说明操作:https://ivopetkov.com/b/let-s-encrypt-on-ec2/

我试过了:git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt /opt/letsencrypt/letsencrypt-auto --debug

并收到错误:你 nknown选项`debug'

我删除了--debug并收到了此错误:参数太多。

所以,我几乎陷入了困境。我几个月前用不同的教程尝试了这个,并且进一步了解但是certbot本身又回复了一个警告,即使用Amazon AMI(我是)是有问题的。

例如,运行./certbot-auto时出现此错误:

  

致命:亚马逊Linux支持目前非常实验性......   如果您想改进它,请确保您有备份   然后使用--debug标志再次运行此脚本!

有没有人幸运地设置了让我们使用Amazon AMI加密SSL?

非常感谢您提出任何建议。

1 个答案:

答案 0 :(得分:1)

这是一个命令,它将git repo克隆到 public class HomeController : Controller { public ActionResult Index(string id) { return View(); } public ActionResult Template(string name) { if (name == null || !Regex.IsMatch(name, @"^[-\w]+$")) throw new ArgumentException("Illegal template name", name"); relativeViewPath=String.Format("~/Views/Home/{0}.cshtml",name); return View(relativeViewPath); } public ActionResult About() { ViewBag.Message = "Your application description page."; return View(); } public ActionResult Contact() { ViewBag.Message = "Your contact page."; return View(); } }

/opt/letsencrypt

这是第二个命令,它运行安装程序:

git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt

您链接的页面上的格式设置使它们看起来像一个命令。