首先需要通过wordpress后他安装ssl插件,这里选择realy simple ssl,安装完成后下载证书等文件到指定目录,然后执行以下命令即可
cpolar http -hostname=secure.example.com -key=/path/to/tls.key -crt=/path/to/tls.crt 80
首先需要通过wordpress后他安装ssl插件,这里选择realy simple ssl,安装完成后下载证书等文件到指定目录,然后执行以下命令即可
cpolar http -hostname=secure.example.com -key=/path/to/tls.key -crt=/path/to/tls.crt 80