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

how do you generate the client keys #1

Open
kdy1968 opened this issue Nov 15, 2023 · 1 comment
Open

how do you generate the client keys #1

kdy1968 opened this issue Nov 15, 2023 · 1 comment

Comments

@kdy1968
Copy link

kdy1968 commented Nov 15, 2023

how do you generate the keys for the client...im using homeassistant os

public_key: paste-client-public-key-base64
private_key: paste-client-private-key-base64

@mdzidic
Copy link
Owner

mdzidic commented Dec 15, 2023

Hello,

They should be located on your tinc server, generated with this command for example tincd -n tinc0 -K4096.

If yes, then your server_public_key and public_key in that case are the same (/etc/tinc/tinc0/rsa_key.pub) and private_key is located at /etc/tinc/tinc0/rsa_key.priv

Now, you should convert them to the Base64 format:

  1. cat /etc/tinc/tinc0/rsa_key.pub | base64 -w 0
  2. cat /etc/tinc/tinc0/rsa_key.priv | base64 -w 0

If you require any further help, let me know.

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

2 participants