ios 使用public_key.der加密
php 使用 private_key.pem解密
openssl req -x509 -out public_key.der -outform der -new -newkey rsa:1024 -keyout private_key.pem
phrase:
countryName : CN
StateName:Zhejiang
CityName:
organizationName:
organizational Unit Name:
CommonName:
email address:
openssl rsa -in private_key.pem -pubout -out public_key.pem [----用于测试----]