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

feat: store certs not in mutable dir #13597

Merged
merged 10 commits into from
Aug 16, 2024

Conversation

JimMoen
Copy link
Member

@JimMoen JimMoen commented Aug 11, 2024

Fixes EMQX-12834

Release version: v/e5.8.0

Summary

PR Checklist

Please convert it to a draft if any of the following conditions are not met. Reviewers may skip over until all the items are checked:

  • Added tests for the changes
  • Added property-based tests for code which performs user input validation
  • Changed lines covered in coverage report
  • Change log has been added to changes/(ce|ee)/(feat|perf|fix|breaking)-<PR-id>.en.md files
  • For internal contributor: there is a jira ticket to track this change
  • Created PR to emqx-docs if documentation update is required, or link to a follow-up jira ticket
  • Schema changes are backward compatible

Checklist for CI (.github/workflows) changes

  • If changed package build workflow, pass this action (manual trigger)
  • Change log has been added to changes/ dir for user-facing artifacts update

changes/ce/fix-13552.en.md Outdated Show resolved Hide resolved
The dir stores certs files when the plugin calling
`emqx_plugins:ensure_ssl_files/2,3`.
`emqx_tls_lib:ensure_ssl_files/2,3` ->
`emqx_tls_lib:ensure_ssl_files_in_mutable_certs_dir/2,3`

- The function always try ensure the ssl files in `data/certs` dir
- May fail due to file/path permissions issues
emqx_tls_lib:ensure_ssl_files_in_mutable_certs_dir/2,3 and
emqx_tls_lib:ensure_ssl_files/2,3 should gen filename by given dir
@JimMoen JimMoen force-pushed the feat-certs-not-in-mutable-dir branch from 872ea85 to bcdb447 Compare August 15, 2024 17:08
@JimMoen JimMoen force-pushed the feat-certs-not-in-mutable-dir branch from b7b840e to 0e51a5e Compare August 16, 2024 03:20
@JimMoen JimMoen marked this pull request as ready for review August 16, 2024 03:27
@JimMoen JimMoen requested review from a team, SergeTupchiy and lafirest as code owners August 16, 2024 03:27
@JimMoen JimMoen changed the title Feat certs not in mutable dir feat: store certs not in mutable dir Aug 16, 2024
@JimMoen JimMoen merged commit 56fa96f into emqx:release-58 Aug 16, 2024
186 checks passed
@JimMoen JimMoen deleted the feat-certs-not-in-mutable-dir branch August 18, 2024 07:55
@emqxqa
Copy link

emqxqa commented Aug 18, 2024

TestExecution

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