Some changes with pia certs and config