New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Self-signed SSL certificates (via the localhost
) with Cluster mode is raised an error
#2818
Comments
Confirmed. I am very sad we forgot to add a test for this! 😞 |
I think we could add a test in |
I investigated this issue a little bit and wanted to report my findings in case they're helpful. The localhost gem support works fine in clustered mode if
(where config.ru is the same one specified in this issue's description)
The thing causing this issue is that |
To clarify what @maleksiuk mentioned, the rackup file should not be used for any Puma configuration except defining the app, which can also be done in the config file. So, to use localhost, the config file can be one line: require 'localhost' If one doesn't want to use a config file, the following should work. Tested with the repo, one may need to change
I've created a PR which updates the README.md file to clarify use of localhost. |
Describe the bug
I tried to use Self-signed SSL certificates. But it seems that doesn't work in Cluster mode.
To Reproduce
Run it with:
It works well in Single mode.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: