Moved add cert to post_message methods.