set certificate content as well