1,第三方网站检测网站的SSL证书是否正确的安装

https://www.geocerts.com/ssl-checker,大概率你会看到下边的场景,一个证书链完整的警告,如果想知道我的基础配置是什么,请看 申请 Let’s Encrypt 泛域名证书 及 Nginx/Apache 证书配置

2,我的网站是Apache提供服务的,就要考虑增加配置

我的配置文件是httpd-ssl.conf。其他平台均正常,安卓微信无法打开的配置如下:

#   Server Certificate:
SSLCertificateFile "/etc/letsencrypt/live/abc.com/fullchain.pem"
# Server Private Key:
SSLCertificateKeyFile "/etc/letsencrypt/live/abc.com/privkey.pem"

Let`s Encrypt生成证书如下:

完美的解决方案其实不止一种,共八种,如下:

方案一:

============================之前配置==============================
# Server Certificate:
SSLCertificateFile "/etc/letsencrypt/live/abc.com/fullchain.pem"
# Server Private Key:
SSLCertificateKeyFile "/etc/letsencrypt/live/abc.com/privkey.pem"
===========================新加配置===============================
# Server Certificate Chain:
#SSLCertificateChainFile "/etc/letsencrypt/live/abc.com/chain.pem"

方案二:

============================之前配置==============================
# Server Certificate:
SSLCertificateFile "/etc/letsencrypt/live/abc.com/fullchain.pem"
# Server Private Key:
SSLCertificateKeyFile "/etc/letsencrypt/live/abc.com/privkey.pem"
===========================新加配置===============================
# Server Certificate Chain:
#SSLCertificateChainFile "/etc/letsencrypt/live/abc.com/fullchain.pem"

方案三:

============================之前配置==============================
# Server Certificate:
SSLCertificateFile "/etc/letsencrypt/live/abc.com/fullchain.pem"
# Server Private Key:
SSLCertificateKeyFile "/etc/letsencrypt/live/abc.com/privkey.pem"
===========================新加配置===============================
# Certificate Authority (CA):
#SSLCACertificateFile "/etc/letsencrypt/live/abc.com/chain.pem"

方案四:

============================之前配置==============================
# Server Certificate:
SSLCertificateFile "/etc/letsencrypt/live/abc.com/fullchain.pem"
# Server Private Key:
SSLCertificateKeyFile "/etc/letsencrypt/live/abc.com/privkey.pem"
===========================新加配置===============================
# Certificate Authority (CA):
#SSLCACertificateFile "/etc/letsencrypt/live/abc.com/fullchain.pem"

方案五:

============================之前配置==============================
# Server Certificate:
SSLCertificateFile "/etc/letsencrypt/live/abc.com/fullchain.pem"
# Server Private Key:
SSLCertificateKeyFile "/etc/letsencrypt/live/abc.com/privkey.pem"
===========================新加配置===============================
# Server Certificate Chain:
#SSLCertificateChainFile "/etc/letsencrypt/live/abc.com/chain.pem"
# Certificate Authority (CA):
#SSLCACertificateFile "/etc/letsencrypt/live/abc.com/chain.pem"

方案六:

============================之前配置==============================
# Server Certificate:
SSLCertificateFile "/etc/letsencrypt/live/abc.com/fullchain.pem"
# Server Private Key:
SSLCertificateKeyFile "/etc/letsencrypt/live/abc.com/privkey.pem"
===========================新加配置===============================
# Server Certificate Chain:
#SSLCertificateChainFile "/etc/letsencrypt/live/abc.com/fullchain.pem"
# Certificate Authority (CA):
#SSLCACertificateFile "/etc/letsencrypt/live/abc.com/fullchain.pem"

方案七:

============================之前配置==============================
# Server Certificate:
SSLCertificateFile "/etc/letsencrypt/live/abc.com/fullchain.pem"
# Server Private Key:
SSLCertificateKeyFile "/etc/letsencrypt/live/abc.com/privkey.pem"
===========================新加配置===============================
# Server Certificate Chain:
#SSLCertificateChainFile "/etc/letsencrypt/live/abc.com/fullchain.pem"
# Certificate Authority (CA):
#SSLCACertificateFile "/etc/letsencrypt/live/abc.com/chain.pem"

方案八:

============================之前配置==============================
# Server Certificate:
SSLCertificateFile "/etc/letsencrypt/live/abc.com/fullchain.pem"
# Server Private Key:
SSLCertificateKeyFile "/etc/letsencrypt/live/abc.com/privkey.pem"
===========================新加配置===============================
# Server Certificate Chain:
#SSLCertificateChainFile "/etc/letsencrypt/live/abc.com/chain.pem"
# Certificate Authority (CA):
#SSLCACertificateFile "/etc/letsencrypt/live/abc.com/fullchain.pem"

以上八种方案产生原理是只要增加配置Server Certificate Chain和Certificate Authority (CA)任一均可,同时配置也可;证书可用的是chain.pem和fullchain.pem;

增加配置完成之后,重启Apache服务器,再次检测网站的证书配置https://www.geocerts.com/ssl-checker,此时你看到如下图所示:

此时证书链完整,安卓手机上的微信也可以打开https的网址啦!觉得有用的,可以关注我,给我点赞。我会努力写出更多有价值的博文的。

安卓手机上微信无法打开Https网址的完美解决方案的更多相关文章

  1. 安卓手机上运行 PC-E500 程序

    目录 第1章安卓手机上运行 PC-E500 程序    1 1 PockEmul    1 2 下载    1 3 打包BASIC程序    2 4 配置PC-E500模拟器    5 5 载入e50 ...

  2. 在安卓手机上通过虚拟机运行Windows XP

    转自:https://www.ithome.com/html/android/302170.htm 细数当年的桌面版Windows,似乎针对ARM架构处理器的版本并不多,小编曾用过一段时间的Windo ...

  3. input type = file 在部分安卓手机上无法调起摄像头和相册

    移动端H5web 用input type = file 在部分安卓手机上无法调起摄像头拍照,有的也无法访问相册而是直接访问了文档,解决办法是: 加上 accept = "image/*&qu ...

  4. 安卓手机上安装 谷歌 play 商店

    安卓手机上安装 谷歌 play 商店 安卓(Android)就是现在流行的智能手机系统,它是由Google公司和开放手机联盟领导及开发.由于安卓系统的底层代码(AOSP)是开源的,以GPL和Apach ...

  5. 在安卓(手机)上运行 Ubuntu (Linux)

    在安卓(手机)上运行 Ubuntu (Linux) 由于x86 和 arm 是跨平台的,所使用的编译器自然也不同.如果要在电脑上编译安卓手机上的程序,则需在电脑端建立ARM交叉编译环境,这个过程是在耗 ...

  6. libmad和libmpg123解码mp3在安卓手机上的比较

    libmad和libmpg123解码mp3在安卓手机上的比较1. libmad 选自 http://sourceforge.net/projects/mad  libmad-0.15.1b.tar.g ...

  7. DroidVim:在安卓手机上使用vim

    背景 有时候在邮件,钉钉,微信上收到一份文件,急需打开看一下,但有些文件用普通编辑器打开体验实在不佳,例如 patch,log 甚至 bin 文件.由于日常在电脑上使用的是 vim ,一个朴素的想法就 ...

  8. 安卓手机添加系统证书方法(HTTPS抓包)

    目录 1. 导出证书(以Charles为例) 2. 安卓证书储存格式 3. 将导出的证书计算hash值 4. 生成系统系统预设格式证书文件 5. 上传证书 安卓7.0以后,安卓不信任用户安装的证书,所 ...

  9. 关于火狐浏览器在ubuntu和安卓手机上的同步

    最近在ubuntu使用火狐浏览器,感觉还不错.我想着,如果在我的安卓手机上装一个火狐浏览器,我就可以在手机上查看电脑上所收藏的网站了.然后我就去安卓应用市场下载了最新版的火狐浏览器.令人奇怪的是,我在 ...

随机推荐

  1. Delphi中ClientDataSet的用法小结

    Delphi中ClientDataSet的用法小结 TClientDataSet控件继承自TDataSet,其数据存储文件格式扩展名为 .cds,是基于文件型数据存储和操作的控件.该控件封装了对数据进 ...

  2. C# NameValueCollection集合 (转)

    1.NameValueCollection类集合是基于 NameObjectCollectionBase 类. 但与 NameObjectCollectionBase 不同,该类在一个键下存储多个字符 ...

  3. java(5) 线程

    1.理清概念 并行与并发: *并行:多个cpu实例或者多台机器同时执行一段处理逻辑,是真正的同时. *并发:通过cpu调度算法,让用户看上去同时执行,实际上从cpu操作层面不是真正的同时.并发往往在场 ...

  4. node爬虫(转)

    我们先来看看今天的目标: mmjpg.com的美腿频道下的图片 一.实现步骤 使用superagent库来获取页面分析页面结构,使用cheerio 获取有效信息保存图片到本地开撸不断优化 这儿我们用到 ...

  5. docker 启动 centos 镜像,容器会自动退出

    docker启动centos镜像有两种版本可以解决自动退出的问题: 方式一: docker run -d -it [image-ID] /bin/sh 方式二: 在启动脚本里面增加一个执行进程: 1. ...

  6. 【CF736D】Permutations 线性代数+高斯消元

    [CF736D]Permutations 题意:有一个未知长度为n的排列和m个条件,第i个条件$(a_i,b_i)$表示第$a_i$个位置上的数可以为$b_i$.保证最终合法的排列的个数是奇数.现在有 ...

  7. MAC SVN 基本设置 终端命令

    extends:http://www.cnblogs.com/heiniuhaha/archive/2012/07/31/2616493.html 安装XCode后Mac OS X 系统已经内置了sv ...

  8. CodeFrist、ModelFirst、DatabaseFirst

    一.CodeFirst 使用System.Data.Entity.DbContext与System.Data.Entity.DbSet构建的数据模型,没有可视化文件但只有实体类的称为CodeFirst ...

  9. Spring Boot 利用插件构造QueryDSL语句时报错:You need to run build with JDK or have tools.jar on the classpath.If this occur....

    You need to run build with JDK or have tools.jar on the classpath.If this occures during eclipse bui ...

  10. PowerDesigner 把Comment/name 互转

    转载:https://www.cnblogs.com/cxd4321/archive/2009/03/07/1405475.html 在使用PowerDesigner对数据库进行概念模型和物理模型设计 ...