File tree Expand file tree Collapse file tree 3 files changed +62
-1
lines changed
includes/installation/docker Expand file tree Collapse file tree 3 files changed +62
-1
lines changed Original file line number Diff line number Diff line change
1
+ You can use `Cosign <https://github.com/sigstore/cosign >`__ to verify
2
+ MongoDB's signature for container images.
3
+
4
+ This procedure is optional. You do not need to verify MongoDB's
5
+ signature to run MongoDB on Docker or any other containerized platform.
6
+
7
+ To verify MongoDB's container signature, perform the following steps:
Original file line number Diff line number Diff line change @@ -152,4 +152,31 @@ Procedure
152
152
maxWireVersion: 20,
153
153
readOnly: false,
154
154
ok: 1
155
- }
155
+ }
156
+
157
+ Next Steps (Optional)
158
+ ---------------------
159
+
160
+ .. include:: /includes/installation/docker/verify-signature-intro.rst
161
+
162
+ .. procedure::
163
+ :style: normal
164
+
165
+ .. step:: Download and install Cosign
166
+
167
+ For installation instructions, see the `Cosign GitHub repository
168
+ <https://github.com/sigstore/cosign>`__.
169
+
170
+ .. step:: Download the MongoDB Server container image's public key
171
+
172
+ .. code-block:: sh
173
+
174
+ curl https://cosign.mongodb.com/server.pem > server.pem
175
+
176
+ .. step:: Verify the signature
177
+
178
+ Run the following command to verify the signature by tag:
179
+
180
+ .. code-block:: sh
181
+
182
+ COSIGN_REPOSITORY=docker.io/mongodb/signatures cosign verify --insecure-ignore-tlog --key=./server.pem docker.io/mongodb/mongodb-community-server:latest
Original file line number Diff line number Diff line change @@ -167,6 +167,33 @@ Steps
167
167
readOnly: false,
168
168
ok: 1
169
169
}
170
+
171
+ Next Steps (Optional)
172
+ ---------------------
173
+
174
+ .. include:: /includes/installation/docker/verify-signature-intro.rst
175
+
176
+ .. procedure::
177
+ :style: normal
178
+
179
+ .. step:: Download and install Cosign
180
+
181
+ For installation instructions, see the `Cosign GitHub repository
182
+ <https://github.com/sigstore/cosign>`__.
183
+
184
+ .. step:: Download the MongoDB Server container image's public key
185
+
186
+ .. code-block:: sh
187
+
188
+ curl https://cosign.mongodb.com/server.pem > server.pem
189
+
190
+ .. step:: Verify the signature
191
+
192
+ Run the following command to verify the signature by tag:
193
+
194
+ .. code-block:: sh
195
+
196
+ COSIGN_REPOSITORY=docker.io/mongodb/signatures cosign verify --insecure-ignore-tlog --key=./server.pem docker.io/mongodb/mongodb-enterprise-server:latest
170
197
171
198
Learn More
172
199
----------
You can’t perform that action at this time.
0 commit comments