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

Feature Request: Relative paths in config #1140

Open
lostmsu opened this issue May 8, 2024 · 1 comment
Open

Feature Request: Relative paths in config #1140

lostmsu opened this issue May 8, 2024 · 1 comment

Comments

@lostmsu
Copy link

lostmsu commented May 8, 2024

What version of nebula are you using? (nebula -version)

1.9.0

What operating system are you using?

Windows

Describe the Bug

There's no way to specify the location of pki files relative to config file.

This makes nebula -service install -config C:\Path\To\cfg.yml create non-functional service as the service does not inherit current directory and won't start because it can't find pki files.

Logs from affected hosts

Could not load client cert (map[]): unable to read pki.key file .\HOST.key: open .\HOST.key: The system cannot find the file specified.

Config files from affected hosts

pki:
  key: .\HOST.key
...
@lostmsu
Copy link
Author

lostmsu commented May 8, 2024

Related to this issue, nebula -service install -config relative.yml does not work - service fails to start with "Incorrect function" error. So path under -config must be absolute currently.

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

No branches or pull requests

1 participant