Describe the bug
TLS cannot be initialized when RUSTFS_TLS_PATH is configured.
Using the same TLS certificate directory and the same startup configuration:
1.0.0-beta.2 works as expected
1.0.0-beta.3 fails
1.0.0-beta.4 fails
To Reproduce
- Prepare a TLS certificate directory.
- Set
RUSTFS_TLS_PATH to that directory, for example /path/to/certs/.
- Start RustFS.
- Observe that TLS initialization fails on
1.0.0-beta.3 and 1.0.0-beta.4.
Sanitized log:
[FATAL] Server encountered an error and is shutting down:
TLS is explicitly configured via RUSTFS_TLS_PATH/tls_path='/path/to/certs/'
but TLS acceptor initialization failed:
TLS material I/O error: failed to discover TLS certificates under '/path/to/certs/':
The certificate directory does not exist or is not a directory: /path/to/certs/
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
Describe the bug
TLS cannot be initialized when
RUSTFS_TLS_PATHis configured.Using the same TLS certificate directory and the same startup configuration:
1.0.0-beta.2works as expected1.0.0-beta.3fails1.0.0-beta.4failsTo Reproduce
RUSTFS_TLS_PATHto that directory, for example/path/to/certs/.1.0.0-beta.3and1.0.0-beta.4.Sanitized log:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.