Skip to content

Commit fb4b130

Browse files
Merge pull request #269934 from rcdun/cmp/verify-ingestion-rpms
Add verification instructions for ingestion rpms
2 parents 91c2f9f + 3f23846 commit fb4b130

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

articles/operator-insights/set-up-ingestion-agent.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,28 @@ Download the RPM for the ingestion agent using the details you received as part
4444

4545
Links to the current and previous releases of the agents are available below the heading of each [release note](ingestion-agent-release-notes.md). If you're looking for an agent version that's more than 6 months old, check out the [release notes archive](ingestion-agent-release-notes-archive.md).
4646

47+
### Verify the authenticity of the ingestion agent RPM (optional)
48+
49+
Before you install the RPM, you can verify the signature of the RPM with the [Microsoft public key file](https://packages.microsoft.com/keys/microsoft.asc) to ensure it has not been corrupted or tampered with.
50+
51+
To do this, perform the following steps:
52+
53+
1. Download the RPM.
54+
1. Download the provided public key
55+
```
56+
wget https://packages.microsoft.com/keys/microsoft.asc
57+
```
58+
1. Import the public key to the GPG keyring
59+
```
60+
gpg --import microsoft.asc
61+
```
62+
1. Verify the RPM signature matches the public key
63+
```
64+
rpm --checksig <path-to-rpm>
65+
```
66+
67+
The output of the final command should be `<path-to-rpm>: digests signatures OK`
68+
4769
## Set up authentication to Azure
4870
4971
You must have a service principal with a certificate credential that can access the Azure Key Vault created by the Data Product to retrieve storage credentials. Each agent must also have a copy of a valid certificate and private key for the service principal stored on this virtual machine.

articles/operator-insights/upgrade-ingestion-agent.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,28 @@ Obtain the latest version of the ingestion agent RPM from [https://go.microsoft.
2222

2323
Links to the current and previous releases of the agents are available below the heading of each [release note](ingestion-agent-release-notes.md). If you're looking for an agent version that's more than 6 months old, check out the [release notes archive](ingestion-agent-release-notes-archive.md).
2424

25+
### Verify the authenticity of the ingestion agent RPM (optional)
26+
27+
Before you install the RPM, you can verify the signature of the RPM with the [Microsoft public key file](https://packages.microsoft.com/keys/microsoft.asc) to ensure it has not been corrupted or tampered with.
28+
29+
To do this, perform the following steps:
30+
31+
1. Download the RPM.
32+
1. Download the provided public key
33+
```
34+
wget https://packages.microsoft.com/keys/microsoft.asc
35+
```
36+
1. Import the public key to the GPG keyring
37+
```
38+
gpg --import microsoft.asc
39+
```
40+
1. Verify the RPM signature matches the public key
41+
```
42+
rpm --checksig <path-to-rpm>
43+
```
44+
45+
The output of the final command should be `<path-to-rpm>: digests signatures OK`
46+
2547
## Upgrade the agent software
2648
2749
To upgrade to a new release of the agent, repeat the following steps on each VM that has the old agent.

0 commit comments

Comments
 (0)