Skip to content

Commit 3bdc78e

Browse files
authored
DOCSP-35239 Change GPG Key URL (#5743) (#5883)
1 parent 15df026 commit 3bdc78e

7 files changed

+28
-11
lines changed

source/includes/steps-install-mongodb-enterprise-on-amazon.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ content: |
1313
baseurl=https://repo.mongodb.com/yum/amazon/2/mongodb-enterprise/{+version+}/$basearch/
1414
gpgcheck=1
1515
enabled=1
16-
gpgkey=https://www.mongodb.org/static/pgp/server-{+pgp-version+}.asc
16+
gpgkey=https://www.pgp.mongodb.com/server-{+pgp-version+}.asc
1717
1818
.. note::
1919

source/includes/steps-install-mongodb-enterprise-on-red-hat.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ content: |
1919
baseurl=https://repo.mongodb.com/yum/redhat/9/mongodb-enterprise/{+version+}/$basearch/
2020
gpgcheck=1
2121
enabled=1
22-
gpgkey=https://www.mongodb.org/static/pgp/server-{+pgp-version+}.asc
22+
gpgkey=https://pgp.mongodb.com/server-{+pgp-version+}.asc
2323
2424
2525
.. tab:: 8
@@ -32,7 +32,7 @@ content: |
3232
baseurl=https://repo.mongodb.com/yum/redhat/8/mongodb-enterprise/{+version+}/$basearch/
3333
gpgcheck=1
3434
enabled=1
35-
gpgkey=https://www.mongodb.org/static/pgp/server-{+pgp-version+}.asc
35+
gpgkey=https://pgp.mongodb.com/server-{+pgp-version+}.asc
3636
3737
.. tab:: 7
3838
:tabid: rhel7
@@ -44,7 +44,7 @@ content: |
4444
baseurl=https://repo.mongodb.com/yum/redhat/7/mongodb-enterprise/{+version+}/$basearch/
4545
gpgcheck=1
4646
enabled=1
47-
gpgkey=https://www.mongodb.org/static/pgp/server-{+pgp-version+}.asc
47+
gpgkey=https://pgp.mongodb.com/server-{+pgp-version+}.asc
4848
4949
5050
.. note::

source/includes/steps-install-mongodb-on-amazon.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,23 @@ content: |
66
77
Create a ``/etc/yum.repos.d/mongodb-org-{+version+}.repo`` file so that
88
you can install MongoDB directly using ``yum``:
9+
10+
.. tabs::
11+
12+
.. tab:: Amazon Linux 2023
13+
:tabid: amazon-linux-2023
14+
15+
.. code-block:: cfg
16+
17+
[mongodb-org-{+version+}]
18+
name=MongoDB Repository
19+
baseurl=https://repo.mongodb.org/yum/amazon/2023/mongodb-org/{+version+}/x86_64/
20+
gpgcheck=1
21+
enabled=1
22+
gpgkey=https://www.mongodb.org/static/pgp/server-{+pgp-version+}.asc
23+
24+
.. tab:: Amazon Linux 2
25+
:tabid: amazon-linux-2
926
1027
.. code-block:: cfg
1128
@@ -14,7 +31,7 @@ content: |
1431
baseurl=https://repo.mongodb.org/yum/amazon/2/mongodb-org/{+version+}/x86_64/
1532
gpgcheck=1
1633
enabled=1
17-
gpgkey=https://www.mongodb.org/static/pgp/server-{+pgp-version+}.asc
34+
gpgkey=https://www.pgp.mongodb.com/server-{+pgp-version+}.asc
1835
1936
You can also download the ``.rpm`` files directly from the
2037
`MongoDB repository <https://repo.mongodb.org/yum/amazon/>`_.

source/includes/steps-install-mongodb-on-red-hat.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ content: |
1818
baseurl=https://repo.mongodb.org/yum/redhat/9/mongodb-org/{+version+}/x86_64/
1919
gpgcheck=1
2020
enabled=1
21-
gpgkey=https://www.mongodb.org/static/pgp/server-{+pgp-version+}.asc
21+
gpgkey=https://pgp.mongodb.com/server-{+pgp-version+}.asc
2222
2323
2424
.. tab:: 8
@@ -31,7 +31,7 @@ content: |
3131
baseurl=https://repo.mongodb.org/yum/redhat/8/mongodb-org/{+version+}/x86_64/
3232
gpgcheck=1
3333
enabled=1
34-
gpgkey=https://www.mongodb.org/static/pgp/server-{+pgp-version+}.asc
34+
gpgkey=https://pgp.mongodb.com/server-{+pgp-version+}.asc
3535
3636
3737
.. tab:: 7
@@ -44,7 +44,7 @@ content: |
4444
baseurl=https://repo.mongodb.org/yum/redhat/7/mongodb-org/{+version+}/x86_64/
4545
gpgcheck=1
4646
enabled=1
47-
gpgkey=https://www.mongodb.org/static/pgp/server-{+pgp-version+}.asc
47+
gpgkey=https://pgp.mongodb.com/server-{+pgp-version+}.asc
4848
4949
You can also download the ``.rpm`` files directly from the
5050
`MongoDB repository <https://repo.mongodb.org/yum/redhat/>`_.

source/includes/steps-install-mongodb-on-suse.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ref: import-key
55
action:
66
language: sh
77
code: |
8-
sudo rpm --import https://www.mongodb.org/static/pgp/server-{+pgp-version+}.asc
8+
sudo rpm --import https://pgp.mongodb.com/server-{+pgp-version+}.asc
99
---
1010
title: Add the MongoDB repository.
1111
stepnum: 2

source/includes/steps-install-verify-files-pgp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ action:
3232
language: sh
3333
copyable: true
3434
code: |
35-
curl -LO https://www.mongodb.org/static/pgp/server-{+version+}.asc
35+
curl -LO https://pgp.mongodb.com/server-{+version+}.asc
3636
gpg --import server-{+version+}.asc
3737
- pre: |
3838
PGP should return this response:

source/tutorial/configure-x509-member-authentication.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ connect and perform operations in the deployment.
3535
* See the :doc:`/tutorial/configure-x509-client-authentication` tutorial
3636
for instructions on using x.509 certificates for user authentication.
3737

38-
.. _`default distribution of MongoDB`: http://www.mongodb.org/downloads?tck=docs_server
38+
.. _`default distribution of MongoDB`: http://mongodb.com/downloads?tck=docs_server
3939
.. _`MongoDB Enterprise`: http://www.mongodb.com/products/mongodb-enterprise-advanced?tck=docs_server
4040

4141
.. important::

0 commit comments

Comments
 (0)