Revert self signed cert format to PEM