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

Not possible to do other nebula-cert commands #7

Open
Hooloovoo opened this issue Nov 23, 2022 · 2 comments
Open

Not possible to do other nebula-cert commands #7

Hooloovoo opened this issue Nov 23, 2022 · 2 comments

Comments

@Hooloovoo
Copy link

Many thanks for this -- it is a great way to keep my Nebula installations up to date on Ubuntu.

I wanted to start monitoring for certificate expiry and have been recommended to use:

nebula-cert print -json -path <your-cert-file> | jq ".details.notAfter"

It looks as though the snap commands are hard-coded to specific nebula-cert commands and nebula-cert print is not possible.

@jwallden
Copy link
Owner

Many apologies for the late reply.
It's correct that the commands are hard coded. It's been a while since i worked on this but to my knowledge you need to do it this way in the snap file.
I don't have a lot of time these days but after a quick peek I don't think that it would be to hard to add this. No promises on when though so if you do it yourself I'm happy to accept a PR :)

@eythian
Copy link

eythian commented Jul 23, 2023

This is a problem because when you set up Nebula on a phone, it pregenerates a public key that you then must sign. However it's not possible to do this, as -out-key is hardcoded and so the command aborts.

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

3 participants