当我的兔子SSL证书更新时,我会遇到问题。我的设置的核心如下:
现在从问题中提供静态资产的文件夹,即使续订成功,服务器似乎也没有拾取除非重新启动Docker容器,否则更改的SSL证书。对于这个问题,我发现最接近的解决方案是要清除证书缓存,但是当我尝试该命令时,我收到的错误消息是:无法要连接到{cluser-name}的EPMD(端口4369).localdomain:nxDomain(不存在的域)
。我还没有找到解决这个问题的解决方案。我已经看过此建议检查该内容的内容/etc/hosts/
文件,我的内容与该博客文章中所示的内容不同。特别是我的简单显示:
127.0.0.1 localhost
...
没有 localhost.localdomain
文章中显示的部分。我很想超越这一点。任何帮助将不胜感激。谢谢你!
I'm having problems reloading my rabbitmq ssl certs when they get renewed. The core of my setup is as follows:
- vps running the rabbitmq community edition docker container
- ssl certs provisioned using letsencrypt on the vps, with the certs available to the docker image via a mounted folder
- auto-renewal configured by mounting a folder that gets bound to
/plugins/rabbitmq_management-{rmq-version}/priv/www
in the docker container, and specifying the --webroot-path
as that folder. This allows the renewal to work without shutting down the server because the /priv/www
folder is where cowboy serves static assets from
The problem now is that even with the renewal successful, the server seems to not pick up the changed ssl certs unless the docker container is restarted. For this problem the closest I've found to a possible solution is this recommendation to clear the certs cache, but when I try that command the error message I get is this: unable to connect to epmd (port 4369) on {cluser-name}.localdomain: nxdomain (non-existing domain)
. I haven't found a solution to this problem yet. I've seen this suggestion to check the contents of the /etc/hosts/
file, and the contents of mine differ from the contents shown in that blog article. Specifically mine simply shows:
127.0.0.1 localhost
...
without the localhost.localdomain
parts shown in the article. I'm stumped beyond this point. Any help will be much appreciated. Thank you!
发布评论
评论(1)
尝试运行此命令:
Try running this command: