Revert "Change pem to pem_data, which require the cert-pem content directly."

This reverts commit 9edd54ebd64456c2eddd2593e38c6079c9f3c6e3.
Revert "update readme"

This reverts commit 429e5f91fe626e36c88307e3aa525d6a58af1f9c.