remake cfg, cert keys