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

Support custom SSL certificates for the signal service #2257

Merged
merged 10 commits into from
Jul 16, 2024

Conversation

benniekiss
Copy link
Contributor

Describe your changes

This PR adds the ability to provide custom SSL certificates to the signal service. Most of the code was adapted from management/cmd/management.go since it already offers the functionality I was looking to implement.

Two flags have been added, --cert-file and --cert-key, which accept a string pointing to a file path for the SSL certificate and key. When --letsencrypt-domain is set, these options are ignored.

This is my first try at go, so please let me know if anything needs refactored and fixed!

Issue ticket number and link

Along with netbirdio/dashboard#399, closes #2242

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

@CLAassistant
Copy link

CLAassistant commented Jul 11, 2024

CLA assistant check
All committers have signed the CLA.

@benniekiss
Copy link
Contributor Author

Whoops. Forced-push to fix authorship issues

Copy link
Collaborator

@mlsmaycon mlsmaycon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome contribution @benniekiss, thanks.

@mlsmaycon mlsmaycon merged commit 4fad0e5 into netbirdio:main Jul 16, 2024
24 checks passed
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.

Support custom ssl certificates for all services
3 participants