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

invalid peer certificate: UnknownIssuer #64

Open
itsTykho opened this issue May 1, 2024 · 3 comments
Open

invalid peer certificate: UnknownIssuer #64

itsTykho opened this issue May 1, 2024 · 3 comments

Comments

@itsTykho
Copy link

itsTykho commented May 1, 2024

Im probably doing something wrong, but when I attempt to connect to the server, the client gives the error: invalid peer certificate: UnknownIssuer and the server gives: received fatal alert: UnknownCA

As Im still learning all this, I believe I've probably messed up the cert gen side of things, but I'm not sure how and I've tried many different combos.

@xircon
Copy link

xircon commented May 10, 2024

sudo rkvm-certificate-gen -i 192.168.X.XX /etc/rkvm/certificate.pem /etc/rkvm/key.pem
  • Run the above, on your server, change the IP address to match the PC you are using as server.
  • Copy /etc/rkvm/certificate.pem to the client PC and put in /etc/rkvm on client, I used kdeconnect, but a USB drive will do it.
  • Reload the services on each PC

The only problem I had was the default hotkey did not work for me, so I changed to alt-space

## In server TOML
switch-keys = ["left-alt", "space"]

@g-h-97
Copy link

g-h-97 commented May 23, 2024

Same issue is happening here as well,

@xircon that's not a valid solution unfortunately

@larrydewey
Copy link

I ran into this issue as well, but after regenerating the certificates, I forgot I neglected to restart rkvm-server. Once that was restarted, it worked well.

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

4 participants