htrefil / rkvm

Virtual KVM switch for Linux machines
MIT License
426 stars 51 forks source link

invalid peer certificate: UnknownIssuer #64

Open itsTykho opened 7 months ago

itsTykho commented 7 months ago

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 commented 6 months ago
sudo rkvm-certificate-gen -i 192.168.X.XX /etc/rkvm/certificate.pem /etc/rkvm/key.pem

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 commented 6 months ago

Same issue is happening here as well,

@xircon that's not a valid solution unfortunately

larrydewey commented 3 months ago

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.