# 生成证书
openssl genrsa -out client.key 4096
openssl req -new -x509 -text -key client.key -out client.cert
# 验证证书
openssl x509 -noout -modulus -in client.crt | openssl md5
(stdin)= adb462033cdd2df8b160a68a34a0e619
openssl rsa -noout -modulus -in client.key | openssl md5
(stdin)= adb462033cdd2df8b160a68a34a0e619