???????????
????1. ???openssl???????privkey.pem??
????openssl genrsa -out privkey.pem 1024/2038
????2. ?????????????server.pem??
????openssl req -new -x509 -key privkey.pem -out server.pem -days 365
?????????????????????????????Common Name??????????????д??
?????????????????? Common Name (e.g. server FQDN or YOUR name) []: wuyanxin.com
???????????? *.yourdomain.com ???????????????
????????nginx
????server {
????listen 443;
????server_name youdomain.com;
????ssl on;
????ssl_certificate /path/to/server.pem;
????ssl_certificate_key /path/to/privkey.pem;
????...
????}
????????????????nginx
????$ sudo nginx -t && sudo nginx -s reload
???????????
?????????????????????????????????????????鯔???????Ч??????????????? ???????????????????顣
????1 ????????????????????????“??????”

????2 ???“View certification”

????3 ??????е????????????棬???????????????“wuyanxin.com.cer”???

????4 ?????????????????

????5 ???б???????????飬?????

????6 ???????“???????”???????????????????

????7 ?????棬???????????С????valid HTTPS??