cleanup of psql cert