no. You need the old certificate (cert.pem and key.pem located in ~/.config/syncthing) to be able to reuse the old ID. Without that, the other devices will refuse to connect (as they should) because the certificates do not match.
Yeah, the keys are generated either on first startup (because they’re needed) or when you run with -generate to force it. The HTTPS keys are generated when needed (again, first startup).
I’m trying to automate the installation and setup of syncthing in multiple servers. Is there a way to generate device IDs so I can put in ansible templates?