amazon-web-services - CodeDeploy 失败并显示消息 "Validation of PKCS7 signed message failed"

标签 amazon-web-services aws-code-deploy

我有一个非常标准的 CodePipeline/CodeDeploy 设置,它已经完美运行了几个月。突然间,在我们没有进行任何更改的情况下,部署失败并显示以下消息:

Validation of PKCS7 signed message failed

根据the documentation ,这应该只发生在非常旧版本的 CodeDeploy 代理上:

This error message indicates the instance is running a version of the CodeDeploy agent that supports only the SHA-1 hash algorithm. Support for the SHA-2 hash algorithm was introduced in version 1.0.1.854 of the CodeDeploy agent, released in November 2015. Effective October 17, 2016, deployments will fail if a version of the CodeDeploy agent earlier than 1.0.1.854 is installed.

但是,我的设置并非如此。我们所有的实例都运行版本 1.0-1.1597(最新稳定版)。我尝试重新安装代理,但问题仍然存在。使用非常相似的设置(相同的代理版本)部署不同的项目可以顺利进行。

帮忙?

最佳答案

显然,CodeDeploy 代理陷入了困境。

我进行了全新安装,并在重新启动服务几次后,我设法获得了令人尊敬的Loaded:已加载,Active:事件(正在运行)状态。部署现在工作正常。

也就是说,我完全不知道是什么导致了这个问题。当部署失败时,代理处于事件状态,并且错误消息完全无意义。

关于amazon-web-services - CodeDeploy 失败并显示消息 "Validation of PKCS7 signed message failed",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54902872/

相关文章:

javascript - 使用 CI 和 CodeDeploy 持续部署 Node.js 应用程序

amazon-web-services - AWS CodeDeploy 重复权限

amazon-web-services - 如何在一个 EC2 实例上运行多个应用程序?

amazon-web-services - 一个人可以享受多少次 AWS 免费套餐?

dns - 如何计算 SimpleDB 域的存储大小?

bash - 通过用户数据在 EC2 实例上安装 CodeDeploy 代理

amazon-web-services - 没有 appspec 文件的 AWS cli 创建部署

node.js - 如何配置我的 Nodejs 应用程序以仅响应 SSL 连接?

java - 无法启动 Tomcat 服务器实例

amazon-web-services - AWS CodeDeploy 未在 Lightsail 基本设置 SSL 上部署