配置SSL遇到的问题(apache)

一、

部分参考:腾讯云帮助文档在 apache 配置 ssl,实际用的阿里云服务器,里面也有帮助文档

二、

由于操作系统的版本不同,目录结构也不同,请根据实际操作系统版本进行查找。 若以上配置文件中均未找到 LoadModule
ssl_module modules/mod_ssl.so 和 Include conf.modules.d/*.conf
配置语句,请确认是否已经安装 mod_ssl.so 模块。若未安装 mod_ssl.so 模块,您可通过执行yum install
mod_ssl 命令进行安装。

安装mod_ssl过程中出问题:

[root@iZ2vc7vxbqxc177ze1zrmaZ bin]# yum install mod_ssl
Repository epel is listed more than once in the configuration
Last metadata expiration check: 2:25:07 ago on Fri 05 Nov 2021 08:02:40 AM CST.
Error: 
 Problem: package mod_ssl-1:2.4.37-39.module_el8.4.0+950+0577e6ac.1.x86_64 requires httpd = 2.4.37-39.module_el8.4.0+950+0577e6ac.1, but none of the providers can be installed
  - cannot install the best candidate for the job
  - package httpd-2.4.37-39.module_el8.4.0+950+0577e6ac.1.x86_64 is filtered out by exclude filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

在centos社区看到了,相关的提示:
在这里插入图片描述
打开yun.conf,把排除的httpd暂时删除就行,
重新安装,配置
成功

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值