generate cert and print address