1、执行命令yum install -y openresty
报错
Signature not supported. Hash algorithm SHA1 not available

2、解决办法
2.1 执行命令 update-crypto-policies --set LEGACY

2.2 再执行命令 yum install -y openresty

本文介绍了在执行`yuminstallopenresty`时遇到的Signaturenotsupported错误,原因在于缺少SHA1算法。解决方法是先通过`update-crypto-policies--setLEGACY`更新加密策略,然后重新安装OpenResty。
1、执行命令yum install -y openresty
报错
Signature not supported. Hash algorithm SHA1 not available

2、解决办法
2.1 执行命令 update-crypto-policies --set LEGACY

2.2 再执行命令 yum install -y openresty

3983

被折叠的 条评论
为什么被折叠?