title: unable to reload rabbitmq ssl cache
body: <p>I'm having problems reloading my rabbitmq ssl certs when they get renewed. The core of my setup is as follows:</p>
  <ul>
  <li>vps running the rabbitmq <a href="https://registry.hub.docker.com/_/rabbitmq/" rel="nofollow noreferrer">community edition docker container</a></li>
  <li>ssl certs provisioned using letsencrypt on the vps, with the certs available to the docker image via a mounted folder</li>
  <li>auto-renewal configured by mounting a folder that gets bound to <code>/plugins/rabbitmq_management-{rmq-version}/priv/www</code> in the docker container, and specifying the <code>--webroot-path</code> as that folder. This allows the renewal to work without shutting down the server because the <code>/priv/www</code> folder is where cowboy serves static assets from</li>
  </ul>
  <p>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 <a href="https://groups.google.com/g/rabbitmq-users/c/AdkDZhmYtAA/m/60lq77fuBQAJ" rel="nofollow noreferrer">this recommendation</a> to clear the certs cache, but when I try that command the error message I get is this: <code>unable to connect to epmd (port 4369) on {cluser-name}.localdomain: nxdomain (non-existing domain)</code>. I haven't found a solution to this problem yet. I've seen <a href="https://community.netwitness.com/t5/netwitness-knowledge-base/rabbitmq-is-not-starting-non-existing-domain-in-rsa-netwitness/ta-p/6323" rel="nofollow noreferrer">this suggestion</a> to check the contents of the <code>/etc/hosts/</code> file, and the contents of mine differ from the contents shown in that blog article. Specifically mine simply shows:</p>
  <pre><code>127.0.0.1       localhost
  ...
  </code></pre>
  <p>without the <code>localhost.localdomain</code> parts shown in the article. I'm stumped beyond this point. Any help will be much appreciated. Thank you!</p>