安全,是一项系统工程

  1. HTTP基本认证
  2. HTTP摘要认证
  3. HTTPS

HTTP Status Code

HTTPS

  1. startSSL 这个使用效果还不错
  2. starfieldtech 不是很贵

使用openssl生成key和crt文件

albert@atschx:~$ openssl req -new -nodes -keyout atschx.me.key -out atschx.me.csr Generating a 2048 bit RSA private key ……………………………….+++ ……………..+++ writing new private key to ‘atschx.me.key’ —– You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter ‘.’, the field will be left blank. —– Country Name (2 letter code) [AU]:CN State or Province Name (full name) [Some-State]:Shanghai Locality Name (eg, city) []:Xuhui Organization Name (eg, company) [Internet Widgits Pty Ltd]:atschx Organizational Unit Name (eg, section) []: Common Name (e.g. server FQDN or YOUR name) []:albert Email Address []:atschx@gmail.com

Please enter the following ‘extra’ attributes to be sent with your certificate request A challenge password []: An optional company name []: