modify certificate script.