我是小站长 發表於 2019-6-2 11:13:46

教程:毫无基础常识的站长搭建HTTPS。图文并茂

<br /><br />首先申明本人不懂任何代码虽然Linux系统但是用了管理软件<font color="#ff0000">wdCP v3.2.21</font> 。<strong><font color="red">本教程也只针对这个后台管理软件与Discuz! 程序版本Discuz! X3.4,并不能保证安装的其他网站程序也适合。</font></strong>因为这个软件是西部数码服务器可以默认安装的傻瓜式操作系统,相信很多人可能需要这个教程特此赠送。<br /><font color="red">后台管理程序:wdCP v3.2.21</font> <br /><font color="#ff0000"><br /></font><br /><br />Discuz! 程序版本Discuz! X3.4 Git<br />UCenter 客户端版本UCenter 1.6.0 Release 20170101<br />服务器系统及 PHP/Linux / PHP v5.6.30<br />服务器软件nginx<br />服务器 MySQL 版本5.5.58<br />服务器类型:云服务器<br /><p style="line-height:25px;text-indent:nullem;text-align:left"><font style="color:rgb(43,43,43)"><font style="background-color:transparent"><font style="font-size:14px">教程:</font></font></font></p><p style="line-height:25px;text-indent:nullem;text-align:left"><font style="color:rgb(43,43,43)"><font style="background-color:transparent"><font style="font-size:14px"><font color="#ff0000">wdCP v3.2.21</font> 站点编辑指定PHP版本如图</font></font></font></p><p style="line-height:25px;text-indent:nullem;text-align:left"><font style="color:rgb(43,43,43)"><font style="background-color:transparent"></font></font></p><br /><p style="line-height:25px;text-indent:nullem;text-align:left"><font style="color:rgb(43,43,43)"><font style="background-color:transparent"><font style="font-size:14px">首先申请》下载》解压SSL证书到本地电脑。(需要先合并.cer、.crt文件,复制cer文件内容到crt文件头部)然后登陆wdcp控制面板,点网站管理》SSL证书管理》上传证书crt和key,证书名称与建立的站点名一致,如图:</font></font></font></p><p style="line-height:25px;text-indent:nullem;text-align:left"><font style="color:rgb(43,43,43)"><font style="background-color:transparent"><font style="font-size:14px"><img id="aimg_xCyIa" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" width="434" height="166" src="https://www.west.cn/Customercenter/UploadImages/faq/201801/15154665162275754.png" border="0" alt="" /></font></font></font></p><br />点网站管理》站点列表编辑,直接<font color="red"><strong>强制启用</strong></font>即可。<br /><img id="aimg_kizpP" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://www.west.cn/Customercenter/UploadImages/faq/201706/14979257923023374.png" onmouseover="img_onmouseoverfunc(this)" lazyloadthumb="1" border="0" alt="" /><br />然后去论坛UC后台修改通讯地址改为https开头的地址。并且复制UC里面的应用通讯密钥。<br />2.在到站长管理UC设置处删除通讯密钥把刚复制的通讯密钥粘贴进去。<br />3.然后跟新缓存。<br />修改301定向地址为https开头即可。<font color="red">使用nginx的伪静态301定向代码</font><br />这样全站HTTPS设置完成。<br /><font color="red">切记不可按照西部数码提供的HTTP转HTTPS的301定向教程修改文件操作。</font><br /><br /><br /><br /><br /><br /><br />服务器<em>, </em>red<em>, </em>教程

耗子 發表於 2019-6-2 19:33:04

其实宝塔现在比较方便 对于LINUX而言也算是完美

站长 發表於 2019-6-16 15:39:31

感谢分享。。

yehui2512 發表於 2019-7-6 23:30:02

感谢分享。。

wuyou 發表於 2019-7-10 20:00:06

这也叫 图文并茂? <br /><br />我分享一个自己实战过的<br /><br />Discuz X3.4 全站实现HTTPS 访问修改教程<br />https://bbs.moonseo.cn/thread-88337-1-1.html<br /><br />

yangxiao6 發表於 2019-7-22 21:16:59

宝塔最简单

beyond926 發表於 2019-7-27 04:47:00

使用nginx的伪静态301定向代码怎么操作

wuyou 發表於 2019-7-27 10:27:38

老版本是需要修改的,新版本则不需要。
頁: [1]
查看完整版本: 教程:毫无基础常识的站长搭建HTTPS。图文并茂