Describe how you would configure and manage a Public Key Infrastructure (PKI) for user and machine authentication.