-
Notifications
You must be signed in to change notification settings - Fork 74
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
Request TLS certificate for tailnet domain alias. #89
Conversation
Edit: created a new service that runs tailscale cert periodically. |
0f464bf
to
6b2d6b7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right!
- add ssl folder to the addon
- add options
- fetch new cert every day
👍
All three are done. The cert process runs once every 24 hours to fetch a new cert. The SSL folder is mapped rw and the cert files are copied into it. There is an option to enable the addon and another mandatory one for the tailnet domain name. There are two more options to customise the output path for the cert files. Both have defaults. |
The PR is failing because of the label? Valid labels are: ['breaking-change', 'bugfix', 'documentation', 'enhancement', 'refactor', 'performance', 'new-feature', 'maintenance', 'ci', 'dependencies', 'translations'] |
Its not. |
Yes automation seems to expect a label but the PR is currently unlabeled. I don't have permission to label it either. |
Yup, that is not a issue |
@frenck so how do we proceed? |
By having patience |
@frenck is this failure unexpected? I don't understand the error message. |
Yes
OK... not sure what to do about that 🤷 It complains a label is missing, so that needs to be added by someone with permissions to do that. |
I meant after you added the label, the amd64 build failed at a docker buildx step. I was wondering if i had to fix something but that doesn't appear to be the case. |
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
Please don’t let this PR go stale. Would like to see this feature implemented! |
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
(Still not stale) |
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
(Not stale) |
@frenck this change is eagerly awaited by me and quite a few others it would seem. Any chance it gets merged soon? If you don't want this, then tell us as much. It's pretty inconsiderate to just leave us hanging. |
Anecdotally, I'm also awaiting this change as I've moved over every homelab-hosted service to tailscale HTTPS a few months ago, save for Home Assistant, because of this PR's timeline. Currently I'm still using cloudflare and a port-forward instead. |
For what it's worth, I've stopped using homeassistant entirely because of the petty handling of this change. I will keep this PR open until they decide to do something about it. |
Until it is merged I forked the repo, updated it to Tailscale v1.34.2, and bumped the add-on base image also to v13.0.1. And I merged this PR and made some modifications and bugfixes:
See: https://github.com/lmagyar/homeassistant-addon-tailscale Disclaimer: I'm just a tinkerer, and "it works on my machine..." (tested on armv7) I will create some new PR-s soon. |
Hi
My domain is from the beginning and doesnt comply with your regex filter...
I use only letters and dashes for ex, and the regex fails...
--
Francisco Bischoff
Laszlo Magyar ***@***.***> escreveu no dia sábado, 7/01/2023
à(s) 21:38:
… Until it is merged I forked the repo, updated it to Tailscale v1.34.2, and
bumped the add-on base image also to v13.0.1.
And I merged this PR and made some modifications and bugfixes:
- the Configuration option is cert_domain (not domain_alias), it is
much more logical, it is analog to the tailscale cert <domain> command
- it creates the /ssl/tailscale directory before fetching the cert
- uses --statedir=/data instead of --state=/data/tailscaled.state, see
tailscale/tailscale-qpkg#64
<tailscale/tailscale-qpkg#64>
- fetch certificate on start and only within 1 week before expiration
- modified the daemon finish script to the usual script, I know new
add-ons have better, it can be bumped later with other scripts
See: https://github.com/lmagyar/homeassistant-addon-tailscale
Disclaimer: I'm just a tinkerer, and "it works on my machine..." (tested
on armv7)
I will create some new PR-s soon.
—
Reply to this email directly, view it on GitHub
<#89 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHQMEFVSQFBZQC3KHB4LA3WRHO37ANCNFSM5S7YDDBQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Could you please send what is in your config? Maybe you entered the machine name also, like |
I found that what you ask is the main domain: xyz.ts.net it works as it was :) |
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
I'm still hoping this progresses. Not stale. |
I think #137 is a better solution, because that doesn't require any configuration and also provides a built-in proxy by tailscaled. |
@lmagyar that does look better! I'm not holding my breath waiting for either one to get merged though. The response from Nabu Casa is pretty clear now.
@frenck this patient enough for you, or should we continue waiting forever? Honestly this single issue has really turned me off of homeassistant. I'm a big believer in the spirit behind open source and Nabu Casa has shown absolutely none of that here. The community should really question their commitment to all of the projects they control. |
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
Proposed Changes
Request TLS certificate from tailscale. HTTPS must be enabled for the tailnet.
https://tailscale.com/kb/1153/enabling-https/
Related Issues
#62
@lmagyar has an even easier solution in #137.