log a warning when rewriting already existing certificate file