3
A
回答
1
通过@titanous添加的答案已经过时,不再有效。 对弗林正确的用法是:
usage: flynn route
flynn route add http [-s <service>] [-c <tls-cert> -k <tls-key>] [--sticky] [--leader] [--no-leader] [--no-drain-backends] <domain>
flynn route add tcp [-s <service>] [-p <port>] [--leader] [--no-drain-backends]
flynn route update <id> [-s <service>] [-c <tls-cert> -k <tls-key>] [--sticky] [--no-sticky] [--leader] [--no-leader]
flynn route remove <id>
所以,下面的文档,这样做的正确的答案是:
flynn -a slashbox route update http/{ID} -c slashbox.crt -k slashbox.key
这将打印回你: updated {ID}
。
7
首先,你需要添加域(在下面的例子与你的应用程序的名称替换
slashbox
)航线:flynn -a slashbox route
路由的ID看起来像
http/xxxxxxxx-xxxxx-xxxxx-xxxx-xxxxxxxxxxxx
然后,添加TLS证书和TLS密钥:
flynn -a slashbox route update http/xxxxxxxx-xxxxx-xxxxx-xxxx-xxxxxxxxxxxx --tls-cert cert_chain.pem --tls-key key.pem
的cert_chain.pem
文件应该有一个域名,后证书通过中间证书,以同一文件中的PEM格式。 key.pem
文件应具有与PEM格式的证书相匹配的未加密私钥。
来源:
相关问题
- 1. TLS/SSL在哪里安装证书
- 2. SMTP TLS证书
- 3. 证书安装
- 4. 没有证书的TLS安全?
- 5. 安装SSL证书
- 6. SSL证书安装
- 7. 在PC上安装证书
- 8. 在AndroidTV上安装证书
- 9. 在iOS上安装证书
- 10. TLS/SSL证书验证
- 11. 在PHP中安装SSL证书Xamppp
- 12. 在WiX中静默安装根证书
- 13. 无法在cpanel中安装证书
- 14. 在IIS CurrentUser/Personal Store中安装证书
- 15. 在GlassFish v3中安装ssl证书
- 16. Mimekit在验证时安装证书
- 17. 证书 - 它们何时安装在证书存储区中?
- 18. Lightsail的SSL/TLS证书?
- 19. tls客户端证书
- 20. 证书安装问题
- 21. Mac安装程序证书
- 22. Apache - 安装SSL证书
- 23. 安装PythonForS60证书错误
- 24. SSL证书未安装
- 25. Android的证书安装
- 26. 安装SSL证书的apache
- 27. P12证书安装问题
- 28. 证书无效安装OpenLDAP
- 29. SSL CA证书安装
- 30. 的httpd不安装证书