PIA's wireguard implementation invalidates wireguard certificates after a few hour of not being used. Just a little script I setup to automatically renew wireguard certificates every set amount of time. If you wish to find a list of avalible regions you can find them in the github linked at the bottom of this readme.
It is highly recomended that you run this in a docker. A docker for this project exists here
This was created from a base github repo that can be found here.