Create new veyon key

Hello!
I deleted the /etc/ucsschool-veyon/key.pem by accident.
How can I create a new key pair?

I tried to deinstall and (re)install the veyon proxy, but it did not create a new key.

Regards
Sven

You can try rerunning the join script manually:

univention-run-join-scripts --run-scripts --force 37ucs-school-veyon-windows.inst

This should recreate the key pair, as well as regenerate your veyon samba certs.

You will want to restart the veyon proxy:

service docker-app-ucsschool-veyon-proxy restart

And you may also need to restart samba, but I’m not 100% sure about this.

Then for each of your Windows machines, you’ll need to copy the new cert over, possibly reconfigure veyon, and restart the computer. The samba cert you need is located at:

"/var/lib/samba/sysvol/$(ucr get domainname)/scripts/veyon-cert_$(hostname).pem"

I’m not familiar with veyon itself, so I’m unable to help if you run into issues with reconfiguring your Windows machines. But good luck!

Thank you for the quick answer!
The creation of a new key worked like a charm…
Luckily we have not used veyon with client on this site, so I do not have to reconfigure any windows machine.

Thanks…

Mastodon