AWS Security ChangesHomeSearch

AWS AmazonCloudWatch: Clarify CloudWatch agent package signature verification steps

Service: AmazonCloudWatch · 2026-11-21 · Documentation medium

File: AmazonCloudWatch/latest/monitoring/verify-CloudWatch-Agent-Package-Signature.md

Summary

Rewrote the CloudWatch agent package signature verification page: condensed the intro, removed the large inline download/signature link table (now pointing to the download page), replaced Windows wget with Invoke-WebRequest, restructured the macOS section into pkgutil and GnuPG methods, and added explicit expected output (Apple developer certificate chain 'AMZN Mobile LLC (94KV3E626L)') plus guidance to not install the package on a BAD signature.

Security assessment

The change strengthens supply-chain integrity guidance by telling users exactly which certificate chain to expect when verifying the CloudWatch agent package and by instructing them not to install a package whose signature verifies as BAD. It documents an existing security practice (GPG/Apple signature verification) rather than fixing a specific vulnerability, and no CVE or incident is referenced.

Evidence

+Confirm that the output shows `Status: signed by a developer certificate issued by Apple for distribution` and that the first certificate in the chain is `Developer ID Installer: AMZN Mobile LLC (94KV3E626L)`.

Diff

diff --git a/AmazonCloudWatch/latest/monitoring/verify-CloudWatch-Agent-Package-Signature.md b/AmazonCloudWatch/latest/monitoring/verify-CloudWatch-Agent-Package-Signature.md
index a02cd82..59e536e 100644
--- a//AmazonCloudWatch/latest/monitoring/verify-CloudWatch-Agent-Package-Signature.md
+++ b//AmazonCloudWatch/latest/monitoring/verify-CloudWatch-Agent-Package-Signature.md
@@ -9 +9 @@
-GPG signature files are included for CloudWatch agent packages on Linux servers. You can use a public key to verify the agent download file is original and unmodified. 
+Each CloudWatch agent package has a signature file that you can use to verify that the download is original and unmodified. Use the procedure for your operating system that follows.
@@ -11,35 +11 @@ GPG signature files are included for CloudWatch agent packages on Linux servers.
-For Windows Server, you can use the MSI to verify the signature. For macOS computers, the signature is included in the agent download package. 
-
-To find the correct signature file, use the following table. For each architecture and operating system, you can see a general link and links for each Region. 
-
-If you use the Region-specific links, replace the default Region (`us-east-1`) with the appropriate Region for your account. For example, for Amazon Linux 2023 and Amazon Linux 2 and the x86-64 architecture, three of the valid links are:
-
-  * `https://amazoncloudwatch-agent.s3.amazonaws.com/amazon_linux/amd64/latest/amazon-cloudwatch-agent.rpm.sig`
-
-  * `https://amazoncloudwatch-agent-us-east-1.s3.us-east-1.amazonaws.com/amazon_linux/amd64/latest/amazon-cloudwatch-agent.rpm`
-
-  * `https://amazoncloudwatch-agent-eu-central-1.s3.eu-central-1.amazonaws.com/amazon_linux/amd64/latest/amazon-cloudwatch-agent.rpm`
-
-
-
-
-Note
-
-To download the CloudWatch agent, your connection must use TLS 1.2 or later.
-
-Architecture | Platform | Download link | Signature file link  
----|---|---|---  
-x86-64 |  Amazon Linux 2023 and Amazon Linux 2 |  https://amazoncloudwatch-agent.s3.amazonaws.com/amazon_linux/amd64/latest/amazon-cloudwatch-agent.rpm https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/amazon_linux/amd64/latest/amazon-cloudwatch-agent.rpm |  https://amazoncloudwatch-agent.s3.amazonaws.com/amazon_linux/amd64/latest/amazon-cloudwatch-agent.rpm.sig https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/amazon_linux/amd64/latest/amazon-cloudwatch-agent.rpm.sig  
-x86-64 |  CentOS |  https://amazoncloudwatch-agent.s3.amazonaws.com/centos/amd64/latest/amazon-cloudwatch-agent.rpm https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/centos/amd64/latest/amazon-cloudwatch-agent.rpm |  https://amazoncloudwatch-agent.s3.amazonaws.com/centos/amd64/latest/amazon-cloudwatch-agent.rpm.sig https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/centos/amd64/latest/amazon-cloudwatch-agent.rpm.sig  
-x86-64 |  Red Hat |  https://amazoncloudwatch-agent.s3.amazonaws.com/redhat/amd64/latest/amazon-cloudwatch-agent.rpm https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/redhat/amd64/latest/amazon-cloudwatch-agent.rpm |  https://amazoncloudwatch-agent.s3.amazonaws.com/redhat/amd64/latest/amazon-cloudwatch-agent.rpm.sig https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/redhat/amd64/latest/amazon-cloudwatch-agent.rpm.sig  
-x86-64 |  SUSE |  https://amazoncloudwatch-agent.s3.amazonaws.com/suse/amd64/latest/amazon-cloudwatch-agent.rpm https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/suse/amd64/latest/amazon-cloudwatch-agent.rpm |  https://amazoncloudwatch-agent.s3.amazonaws.com/suse/amd64/latest/amazon-cloudwatch-agent.rpm.sig https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/suse/amd64/latest/amazon-cloudwatch-agent.rpm.sig  
-x86-64 |  Debian |  https://amazoncloudwatch-agent.s3.amazonaws.com/debian/amd64/latest/amazon-cloudwatch-agent.deb https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/debian/amd64/latest/amazon-cloudwatch-agent.deb |  https://amazoncloudwatch-agent.s3.amazonaws.com/debian/amd64/latest/amazon-cloudwatch-agent.deb.sig https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/debian/amd64/latest/amazon-cloudwatch-agent.deb.sig  
-x86-64 |  Ubuntu |  https://amazoncloudwatch-agent.s3.amazonaws.com/ubuntu/amd64/latest/amazon-cloudwatch-agent.deb https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/ubuntu/amd64/latest/amazon-cloudwatch-agent.deb |  https://amazoncloudwatch-agent.s3.amazonaws.com/ubuntu/amd64/latest/amazon-cloudwatch-agent.deb.sig https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/ubuntu/amd64/latest/amazon-cloudwatch-agent.deb.sig  
-x86-64 |  Oracle |  https://amazoncloudwatch-agent.s3.amazonaws.com/oracle_linux/amd64/latest/amazon-cloudwatch-agent.rpm https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/oracle_linux/amd64/latest/amazon-cloudwatch-agent.rpm |  https://amazoncloudwatch-agent.s3.amazonaws.com/oracle_linux/amd64/latest/amazon-cloudwatch-agent.rpm.sig https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/oracle_linux/amd64/latest/amazon-cloudwatch-agent.rpm.sig  
-x86-64 |  macOS |  https://amazoncloudwatch-agent.s3.amazonaws.com/darwin/amd64/latest/amazon-cloudwatch-agent.pkg https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/darwin/amd64/latest/amazon-cloudwatch-agent.pkg |  https://amazoncloudwatch-agent.s3.amazonaws.com/darwin/amd64/latest/amazon-cloudwatch-agent.pkg.sig https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/darwin/amd64/latest/amazon-cloudwatch-agent.pkg.sig  
-x86-64 |  Windows |  https://amazoncloudwatch-agent.s3.amazonaws.com/windows/amd64/latest/amazon-cloudwatch-agent.msi https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/windows/amd64/latest/amazon-cloudwatch-agent.msi |  https://amazoncloudwatch-agent.s3.amazonaws.com/windows/amd64/latest/amazon-cloudwatch-agent.msi.sig https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/windows/amd64/latest/amazon-cloudwatch-agent.msi.sig  
-ARM64 |  Amazon Linux 2023 and Amazon Linux 2 |  https://amazoncloudwatch-agent.s3.amazonaws.com/amazon_linux/arm64/latest/amazon-cloudwatch-agent.rpm https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/amazon_linux/arm64/latest/amazon-cloudwatch-agent.rpm |  https://amazoncloudwatch-agent.s3.amazonaws.com/amazon_linux/arm64/latest/amazon-cloudwatch-agent.rpm.sig https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/amazon_linux/arm64/latest/amazon-cloudwatch-agent.rpm.sig  
-ARM64 |  Red Hat |  https://amazoncloudwatch-agent.s3.amazonaws.com/redhat/arm64/latest/amazon-cloudwatch-agent.rpm https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/redhat/arm64/latest/amazon-cloudwatch-agent.rpm |  https://amazoncloudwatch-agent.s3.amazonaws.com/redhat/arm64/latest/amazon-cloudwatch-agent.rpm.sig https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/redhat/arm64/latest/amazon-cloudwatch-agent.rpm.sig  
-ARM64 |  Ubuntu |  https://amazoncloudwatch-agent.s3.amazonaws.com/ubuntu/arm64/latest/amazon-cloudwatch-agent.deb https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/ubuntu/arm64/latest/amazon-cloudwatch-agent.deb |  https://amazoncloudwatch-agent.s3.amazonaws.com/ubuntu/arm64/latest/amazon-cloudwatch-agent.deb.sig https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/ubuntu/arm64/latest/amazon-cloudwatch-agent.deb.sig  
-ARM64 |  Debian |  https://amazoncloudwatch-agent.s3.amazonaws.com/debian/arm64/latest/amazon-cloudwatch-agent.deb https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/debian/arm64/latest/amazon-cloudwatch-agent.deb |  https://amazoncloudwatch-agent.s3.amazonaws.com/debian/arm64/latest/amazon-cloudwatch-agent.deb.sig https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/debian/arm64/latest/amazon-cloudwatch-agent.deb.sig  
-ARM64 |  SUSE |  https://amazoncloudwatch-agent.s3.amazonaws.com/suse/arm64/latest/amazon-cloudwatch-agent.rpm https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/suse/arm64/latest/amazon-cloudwatch-agent.rpm |  https://amazoncloudwatch-agent.s3.amazonaws.com/suse/arm64/latest/amazon-cloudwatch-agent.rpm.sig https://amazoncloudwatch-agent-`us-east-1`.s3.`us-east-1`.amazonaws.com/suse/arm64/latest/amazon-cloudwatch-agent.rpm.sig  
+The signature file link for each package is in the **Signature file link** column of the download table. For more information, see [Download the CloudWatch agent package](./download-CloudWatch-Agent-on-EC2-Instance-commandline-first.html).
@@ -105 +71 @@ You can perform the remaining steps in Windows PowerShell.
-        PS> wget https://amazoncloudwatch-agent.s3.amazonaws.com/assets/amazon-cloudwatch-agent.gpg -OutFile amazon-cloudwatch-agent.gpg
+        PS> Invoke-WebRequest -Uri https://amazoncloudwatch-agent.s3.amazonaws.com/assets/amazon-cloudwatch-agent.gpg -OutFile amazon-cloudwatch-agent.gpg
@@ -131 +97 @@ After you have verified the fingerprint, you can use it to verify the signature
-  5. Download the package signature file using wget. To determine the correct signature file, see [CloudWatch Agent Download Links](./download-CloudWatch-Agent-on-EC2-Instance-commandline-first.html#agent-download-link-table).
+  5. Download the package signature file using `Invoke-WebRequest`. To determine the correct signature file, see [CloudWatch Agent Download Links](./download-CloudWatch-Agent-on-EC2-Instance-commandline-first.html#agent-download-link-table).
@@ -152 +118 @@ Note the warning about trust. A key is trusted only if you or someone who you tr
-  * There are two methods for signature verification on macOS.
+  * Use one of the following methods.
@@ -154 +120 @@ Note the warning about trust. A key is trusted only if you or someone who you tr
-    * Verify the fingerprint by running the following command.
+    * Check the package signature with **pkgutil** :
@@ -158 +124 @@ Note the warning about trust. A key is trusted only if you or someone who you tr
-You should see a result similar to the following.
+Confirm that the output shows `Status: signed by a developer certificate issued by Apple for distribution` and that the first certificate in the chain is `Developer ID Installer: AMZN Mobile LLC (94KV3E626L)`.
@@ -160,21 +126 @@ You should see a result similar to the following.
-                Package "amazon-cloudwatch-agent.pkg":
-                Status: signed by a developer certificate issued by Apple for distribution
-                Signed with a trusted timestamp on: 2020-10-02 18:13:24 +0000
-                Certificate Chain:
-                1. Developer ID Installer: AMZN Mobile LLC (94KV3E626L)
-                Expires: 2024-10-18 22:31:30 +0000
-                SHA256 Fingerprint:
-                81 B4 6F AF 1C CA E1 E8 3C 6F FB 9E 52 5E 84 02 6E 7F 17 21 8E FB
-                0C 40 79 13 66 8D 9F 1F 10 1C
-                ------------------------------------------------------------------------
-                2. Developer ID Certification Authority
-                Expires: 2027-02-01 22:12:15 +0000
-                SHA256 Fingerprint:
-                7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03
-                F2 9C 88 CF B0 B1 BA 63 58 7F
-                ------------------------------------------------------------------------
-                3. Apple Root CA
-                Expires: 2035-02-09 21:40:36 +0000
-                SHA256 Fingerprint:
-                B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C
-                68 C5 BE 91 B5 A1 10 01 F0 24
+    * Verify the package with GnuPG and the signature file:
@@ -182 +128 @@ You should see a result similar to the following.
-    * Or, download and use the .sig file To use this method, follow these steps.
+      1. Install GnuPG:
@@ -184 +130 @@ You should see a result similar to the following.
-      1. Install the GPG application to your macOS host by entering the following command.
+                        brew install gnupg
@@ -186 +132 @@ You should see a result similar to the following.
-                        brew install GnuPG
+      2. Import the public key and verify its fingerprint as described in the Linux procedure.
@@ -188 +134 @@ You should see a result similar to the following.
-    * Download the package signature file using curl. To determine the correct signature file, see [CloudWatch Agent Download Links](./download-CloudWatch-Agent-on-EC2-Instance-commandline-first.html#agent-download-link-table).
+      3. Download the package signature file with **curl**. To find the signature file link, see [CloudWatch agent download links](./download-CloudWatch-Agent-on-EC2-Instance-commandline-first.html#agent-download-link-table).
@@ -190 +136 @@ You should see a result similar to the following.
-    * To verify the signature, run **gpg --verify**.
+      4. Verify the signature:
@@ -192,7 +138 @@ You should see a result similar to the following.
-                PS> gpg --verify sig-filename agent-download-filename
-        gpg: Signature made 11/29/17 23:00:45 Coordinated Universal Time
-        gpg:                using RSA key D58167303B789C72
-        gpg: Good signature from "Amazon CloudWatch Agent" [unknown]
-        gpg: WARNING: This key is not certified with a trusted signature!
-        gpg:          There is no indication that the signature belongs to the owner.
-        Primary key fingerprint: 9376 16F3 450B 7D80 6CBD  9725 D581 6730 3B78 9C72
+                        gpg --verify sig-filename agent-download-filename
@@ -200,3 +140 @@ You should see a result similar to the following.
-If the output includes the phrase `BAD signature`, check whether you performed the procedure correctly. If you continue to get this response, contact Amazon Web Services and avoid using the downloaded file.
-
-Note the warning about trust. A key is trusted only if you or someone who you trust has signed it. This doesn't mean that the signature is invalid, only that you have not verified the public key.
+If the output includes `BAD signature`, don't install the package. The warning that the key isn't certified with a trusted signature is expected if you haven't signed the public key yourself.
@@ -213 +151 @@ To use the Amazon Web Services Documentation, Javascript must be enabled. Please
-Download the CloudWatch agent package
+Set up the CloudWatch agent with security-enhanced Linux (SELinux)
@@ -215 +153 @@ Download the CloudWatch agent package
-Installing the CloudWatch agent
+On Amazon ECS