Skip to content
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

Give better error messages when missing SSL files #8315

Merged
merged 1 commit into from
May 16, 2022

Conversation

jeffro256
Copy link
Contributor

While copying my data dir to another drive, I missed copying the rpc_ssl.key file b/c of the file permissions. This change will give a much more clear, descriptive error in that scenario. Before the error message was something like use_private_key_file: asio ssl error. I put in a couple of layers of redundancy in case this scenario originates from somewhere that isn't core_rpc_server

While copying my data dir to another drive, I missed copying the rpc_ssl.key file b/c of the file permissions.
This change will give a much more clear, descriptive error in that scenario.
@luigi1111 luigi1111 merged commit 6e60919 into monero-project:master May 16, 2022
@jeffro256 jeffro256 deleted the better_ssl_key_err branch May 16, 2022 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants