Re-generate cert if it's for a different device ID
This would happen to people who transferred their KDE Connect config from one phone to another (mostly with backup apps that only work on rooted phones). This led to a state where other devices would always reject the connection because the certificate CN didn't match the device ID.
On the PC side this is not a problem because the certificate is the source of truth for the device ID.
Edited by Albert Vaca Cintora