• WordPress增加SSL证书实现HTTPS协议访问


    原文地址: WordPress增加SSL证书实现HTTPS协议访问

    欢迎访问我的博客: https://blog.duhbb.com


    找一个免费的证书

    当前可供大家免费使用的 SSL 证书: Let's Encrypt (推荐)

    官网: https://letsencrypt.org

    1. Let's Encrypt 是国外一个公共的免费 SSL 项目, 由 Linux 基金会托管, 它的来头不小, 由 Mozilla, 思科,Akamai,IdenTrust 和 EFF 等组织发起, 目的就是向网站自动签发和管理免费证书, 以便加速互联网由 HTTP 过渡到 HTTPS.
    2. Let's Encrypt 安装部署简单, 方便, 目前 Cpanel,Oneinstack 等面板都已经集成了 Let's Encrypt 一键申请安装, 网上也有不少的利用 Let's Encrypt 开源的特性制作的在线免费 SSL 证书申请网站, 总之 Let's Encrypt 得到大家的认可.
    3. 最后选择 Let's Encrypt, 一方面是 Let's Encrypt SSL 已经被 Firefox,Chrome,IE 等浏览器所支持,IE 6 用户估计也不怎么看我的博客, 所以可以忽略. 另一方面,Let's Encrypt SSL 证书下载和安装已经是傻瓜式的简单了.

    ————————————————
    版权声明: 本文为 CSDN 博主「阳光岛主」的原创文章, 遵循 CC 4.0 BY-SA 版权协议, 转载请附上原文出处链接及本声明.
    原文链接:https://blog.csdn.net/ithomer/article/details/78075006

    按照如下的步骤来

    https://certbot.eff.org/instructions?ws=nginx&os=ubuntufocal

    会让你选 web 应用容器和操作系统:

    My HTTP website is running <Nginx> on <Ubuntu 20>
    

    然后按照上面的提示来就行了

    $ sudo snap install core
    $ sudo snap refresh core
    $ sudo apt-get remove certbot
    $ sudo snap install --classic certbot
    $ sudo ln -s /snap/bin/certbot /usr/bin/certbot
    $ sudo certbot --nginx
    

    安装插件

    这个插件很棒: Really Simple SSL

    愉快享用

    可以愉快的使用 HTTPS 了.

    最后有个捐款, 如果觉得可以的话还是捐一个吧, 我捐个 2 美元先.

    ^CExiting due to user request.
    
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    If you like Certbot, please consider supporting our work by:
     * Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
     * Donating to EFF:                    https://eff.org/donate-le
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    

    请输入金额 (最少不低于 $10), 算了, 我还是白嫖吧, 第三世界的人民就不掺和了, 555

    https://duhbb.com 不安全

    这个解决方法是:

    root@vultr:~# sudo certbot --nginx  --domains duhbb.com
    Saving debug log to /var/log/letsencrypt/letsencrypt.log
    Requesting a certificate for duhbb.com
    

    即对这个网址也进行认证, 就可以愉快访问了.


    原文地址: WordPress增加SSL证书实现HTTPS协议访问

    欢迎访问我的博客: https://blog.duhbb.com

  • 相关阅读:
    数学考试
    奇♂妙拆分
    11.25
    11.21
    11.20
    11.19
    11.18
    11.15
    11.14作业
    11.14
  • 原文地址:https://www.cnblogs.com/tuhooo/p/16501398.html
Copyright © 2020-2023  润新知