Automated certs create and managing

Scripts to manage certificates or generate config files

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
hofsrs
OpenVpn Newbie
Posts: 1
Joined: Wed Jul 28, 2021 10:20 am

Automated certs create and managing

Post by hofsrs » Fri Jul 30, 2021 7:48 am

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

Post Reply