使用Django应用程序安装certbot ssl的问题

时间:2019-03-17 08:38:54

标签: python django ssl ssl-certificate certbot

我正在尝试使用certbot安装SSL证书。我有一个在Google Cloud Platform Compute Engine上运行的Django应用程序。我已经遵循this文档,了解如何为Django应用程序获取ssl,但出现错误

  

certbot:错误:无法识别的参数:   --certbot-django-auth-key-directory〜/ .ssh / certbot /

我已经完成了本文档所说的一切,但仍然不知道我在做什么错。请帮助我。

1 个答案:

答案 0 :(得分:0)

替换--certbot-django-auth-key-directory〜/ .ssh / certbot / --certbot-django:auth-key-directory〜/ .ssh / certbot /