Https 升级(free)

本文详细介绍如何在Ubuntu 16.04环境下使用Apache2为网站安装SSL证书。通过一系列命令实现从软件安装到证书配置的全过程,并提供最终验证方式。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

环境如下
Ubuntu 16.04, Apache2 (阿里云)

工具如下
https://certbot.eff.org/#ubuntuxenial-apache

命令如下:

$ apt install software-properties-common

$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update
$ sudo apt-get install python-certbot-apache 

$ certbot --apache
in this step, you need enter
1. domain name
2. your email
3. Agree the service term
4. share your email to subscribe or not
5. make a choice:
    1. easy way:both http and https are required
    2. secure way:all requests will be redirect to https




finall, you can test your domain at here

https://www.ssllabs.com/ssltest/analyze.html
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值