Page 1 of 1

Automated certs create and managing

Posted: Fri Jul 30, 2021 7:48 am
by hofsrs
Greetings, pretty much new to this topic, searched forum and didn't find answer. I have one server and like 200+ clients, all of them almost identical. That is no problem to create few certs manualy, but how can I automated it's creations with different user names? Curruntly I use this command: sudo ./easyrsa build-client-full username nopass. I though of way that I can temporarly connect all clients with one identical cert and then everyone will get proper cert.
What should I do to auto recreate certs when old one expired?

P.S. server is on Ubuntu 20.04 and clients is Linux raspberrypi 4.19.1