Skip to content

Commit 02abe34

Browse files
author
Mauricio
authored
Update troubleshoot-linux-rhui-certificate-issues.md
1 parent 84e6e37 commit 02abe34

1 file changed

Lines changed: 36 additions & 72 deletions

File tree

support/azure/virtual-machines/linux/troubleshoot-linux-rhui-certificate-issues.md

Lines changed: 36 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ All the following commands should be run by using root privileges or by specifyi
162162
sudo tee rhel8-eus.config > /dev/null <<< $'[rhui-microsoft-azure-rhel8-eus]\nname=Microsoft Azure RPMs for RHEL 8 EUS\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel8-eus\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
163163
```
164164
165-
2. Install the `rhui-azure-rhel8-eus` package by running
165+
2. Install the `rhui-azure-rhel8-eus` package by running:
166166
167167
```bash
168168
sudo dnf --config rhel8-eus.config install rhui-azure-rhel8-eus
@@ -187,13 +187,13 @@ All the following commands should be run by using root privileges or by specifyi
187187
188188
#### [RHEL 9._x_ - EUS](#tab/rhel9-eus)
189189
190-
1. Create a config file by using this command
190+
1. Create a config file by using this command:
191191
192192
```bash
193193
sudo tee rhel9-eus.config > /dev/null <<< $'[rhui-microsoft-azure-rhel9-eus]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 9 (rhel9-eus)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel9-eus\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
194194
195195
```
196-
2. Install the `rhui-azure-rhel9-eus` package by running
196+
2. Install the `rhui-azure-rhel9-eus` package by running.
197197
198198
```bash
199199
sudo dnf --config rhel9-eus.config install rhui-azure-rhel9-eus
@@ -211,7 +211,7 @@ All the following commands should be run by using root privileges or by specifyi
211211
sudo dnf repolist all
212212
```
213213
214-
5. Remove the temp file created on step 1
214+
5. Remove the temp file created on step 1.
215215
216216
```bash
217217
sudo rhel9-eus.config
@@ -240,7 +240,7 @@ All the following commands should be run by using root privileges or by specifyi
240240
sudo rm /etc/yum/vars/releasever
241241
```
242242

243-
2. Create a config file by using this command
243+
2. Create a config file by using this command:
244244

245245
```bash
246246
sudo tee rhel7-non-eus.config > /dev/null <<< $'[rhui-microsoft-azure-rhel7]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 7 (rhel7)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel7\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
@@ -257,7 +257,7 @@ All the following commands should be run by using root privileges or by specifyi
257257
```bash
258258
sudo yum repolist
259259
```
260-
5. Remove the temp file created on step 2
260+
5. Remove the temp file created on step 2.
261261
262262
```bash
263263
sudo rm rhel7-non-eus.config
@@ -271,7 +271,7 @@ All the following commands should be run by using root privileges or by specifyi
271271
sudo rm /etc/yum/vars/releasever
272272
```
273273
274-
2. Create a config file by using this command
274+
2. Create a config file by using this command:
275275
276276
```bash
277277
sudo tee rhel8-non-eus.config > /dev/null <<< $'[rhui-microsoft-azure-rhel8]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 8 (rhel8)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel8\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
@@ -288,7 +288,7 @@ All the following commands should be run by using root privileges or by specifyi
288288
```bash
289289
sudo yum repolist
290290
```
291-
5. Remove the temp file created on step 2
291+
5. Remove the temp file created on step 2.
292292
293293
```bash
294294
sudo rm rhel8-non-eus.config
@@ -302,7 +302,7 @@ All the following commands should be run by using root privileges or by specifyi
302302
sudo rm /etc/yum/vars/releasever
303303
```
304304
305-
2. Create a config file by using this command
305+
2. Create a config file by using this command:
306306
307307
```bash
308308
sudo tee rhel9-non-eus.config > /dev/null <<< $'[rhui-microsoft-azure-rhel9]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 9 (rhel9)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel9\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
@@ -319,7 +319,7 @@ All the following commands should be run by using root privileges or by specifyi
319319
```bash
320320
sudo yum repolist
321321
```
322-
5. Remove the temp file created on step 2
322+
5. Remove the temp file created on step 2.
323323
324324
```bash
325325
sudo rm rhel9-non-eus.config
@@ -328,7 +328,7 @@ All the following commands should be run by using root privileges or by specifyi
328328
#### [RHEL 10.0 non-EUS](#tab/rhel10-noneus)
329329
330330
331-
1. Create a config file by using this command
331+
1. Create a config file by using this command:
332332
333333
```bash
334334
sudo tee rhel10-non-eus.config > /dev/null <<< $'[rhui-microsoft-azure-rhel10]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 10 (rhel10)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel10\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft-2025.asc\nsslverify=1'
@@ -345,7 +345,8 @@ All the following commands should be run by using root privileges or by specifyi
345345
```bash
346346
sudo dnf repolist
347347
```
348-
4. Remove the temp file created on step 2
348+
349+
4. Remove the temp file created on step 1.
349350
350351
```bash
351352
sudo rm rhel10-non-eus.config
@@ -380,7 +381,7 @@ The following steps apply if the OS version is *RHEL 7.9* and the VM was created
380381
sudo rm /etc/yum/vars/releasever
381382
```
382383
383-
2. Create a config file by using this command
384+
2. Create a config file by using this command:
384385
385386
```bash
386387
sudo tee rhel7-base-sap-apps.config > /dev/null <<< $'[rhui-microsoft-azure-rhel7-base-sap-apps]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 7 (rhel7-base-sap-apps)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel7-base-sap-apps\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
@@ -398,7 +399,7 @@ The following steps apply if the OS version is *RHEL 7.9* and the VM was created
398399
sudo yum repolist
399400
```
400401
401-
5. Remove the temp file created on step 1
402+
5. Remove the temp file created on step 2.
402403
403404
```bash
404405
sudo rm rhel7-base-sap-apps.config
@@ -415,7 +416,7 @@ The following steps apply if the OS version is *RHEL 7.9* and the VM was created
415416
sudo rm /etc/yum/vars/releasever
416417
```
417418
418-
2. Create a config file by using this command
419+
2. Create a config file by using this command:
419420
420421
```bash
421422
sudo tee rhel7-base-sap-ha.config > /dev/null <<< $'[rhui-microsoft-azure-rhel7-base-sap-ha]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 7 (rhel7-base-sap-ha)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel7-base-sap-ha\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
@@ -433,49 +434,12 @@ The following steps apply if the OS version is *RHEL 7.9* and the VM was created
433434
sudo yum repolist
434435
```
435436
436-
5. Remove the temp file created on step 2
437+
5. Remove the temp file created on step 2.
437438
438439
```bash
439440
sudo rm rhel7-base-sap-ha.config
440441
```
441442
442-
#### [RHEL 7.9 - RHEL-HA](#tab/rhe79-rhel-ha)
443-
444-
1. Remove the releasever file if it exists:
445-
446-
```bash
447-
sudo rm /etc/yum/vars/releasever
448-
```
449-
450-
2. Remove the client `rhui-azure-rhel7-ha` package by running the `dnf remove` command:
451-
452-
```bash
453-
sudo dnf remove rhui-azure-rhel7-ha
454-
```
455-
456-
3. Create a config file by using this command
457-
458-
```bash
459-
sudo tee rhel7-ha.config > /dev/null <<< $'[microsoft-azure-rhel7-ha]\nname=Microsoft Azure RPMs for RHEL7 HA\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel7-ha\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
460-
```
461-
462-
4. Install the `rhui-azure-rhel7-base-ha` package by running the [dnf](https://dnf.readthedocs.io/en/latest/command_ref.html) installation command:
463-
464-
```bash
465-
sudo yum --config rhel7-ha.config install rhui-azure-rhel7-ha
466-
```
467-
468-
5. Verify that the corresponding repositories are available and show no errors. To do this, run the `dnf repolist` command:
469-
470-
```bash
471-
sudo dnf repolist
472-
```
473-
6. Remove the temp file created on step 3
474-
475-
```bash
476-
sudo rm rhel7-ha.config
477-
```
478-
479443
---
480444
481445
> [!NOTE]
@@ -497,7 +461,7 @@ Select the tab of an SAP image type to see the corresponding instructions.
497461
498462
The following steps apply if the OS version is *earlier than the latest version available* supported by SAP for `RHEL 8.X` and the VM was created by using the `RHEL-SAP-APPS` offer image.
499463
500-
1. Create a config file by using this command
464+
1. Create a config file by using this command:
501465
502466
```bash
503467
sudo tee rhel8-sapapps.config > /dev/null <<< $'[rhui-microsoft-azure-rhel8-sapapps]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 8 (rhel8-base-sapapps)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel8-sapapps\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
@@ -521,7 +485,7 @@ The following steps apply if the OS version is *earlier than the latest version
521485
sudo dnf repolist
522486
```
523487
524-
5. Remove the temp file created on step 1
488+
5. Remove the temp file created on step 1.
525489
526490
```bash
527491
sudo rm rhel8-sapapps.config
@@ -538,7 +502,7 @@ The following steps apply if the OS version is *RHEL 8.10* supported by SAP and
538502
sudo rm /etc/yum/vars/releasever
539503
```
540504
541-
2. Create a config file by using this command
505+
2. Create a config file by using this command:
542506
543507
```bash
544508
sudo tee rhel8-base-sap-apps.config > /dev/null <<< $'[rhui-microsoft-azure-rhel8-base-sap-apps]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 8 (rhel8-base-sap-apps)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel8-base-sap-apps\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
@@ -555,7 +519,7 @@ The following steps apply if the OS version is *RHEL 8.10* supported by SAP and
555519
```bash
556520
sudo dnf repolist
557521
```
558-
5. Remove the temp file created on step 2
522+
5. Remove the temp file created on step 2.
559523
560524
```bash
561525
sudo rm rhel8-base-sap-apps.config
@@ -565,11 +529,10 @@ The following steps apply if the OS version is *RHEL 8.10* supported by SAP and
565529
566530
The following steps apply if the OS version is *earlier than the latest version available* supported by SAP for `RHEL 8._x_` and the VM was created by using the `RHEL-SAP-HA` offer image.
567531
568-
1. Create a config file by using this command
532+
1. Create a config file by using this command:
569533
570534
```bash
571535
sudo tee rhel8-sap-ha.config > /dev/null <<< $'[rhui-microsoft-azure-rhel8-sap-ha]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 8 (rhel8-sap-ha)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel8-sap-ha\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
572-
573536
```
574537
575538
2. Install the `rhui-azure-rhel8-sap-ha` package by running the [dnf](https://dnf.readthedocs.io/en/latest/command_ref.html) installation command:
@@ -589,7 +552,8 @@ The following steps apply if the OS version is *earlier than the latest version
589552
```bash
590553
sudo dnf repolist
591554
```
592-
5. Remove the temp file created on step 2
555+
556+
5. Remove the temp file created on step 1.
593557
594558
```bash
595559
sudo rm rhel8-sap-ha.config
@@ -605,7 +569,7 @@ The following steps apply if the OS version is *RHEL 8.10* and the VM was create
605569
sudo rm /etc/yum/vars/releasever
606570
```
607571
608-
2. Create a config file by using this command
572+
2. Create a config file by using this command:
609573
610574
```bash
611575
sudo tee rhel8-base-sap-ha.config > /dev/null <<< $'[rhui-microsoft-azure-rhel8-base-sap-ha]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 8 (rhel8-base-sap-ha)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel8-base-sap-ha\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
@@ -623,15 +587,15 @@ The following steps apply if the OS version is *RHEL 8.10* and the VM was create
623587
sudo dnf repolist
624588
```
625589
626-
5. Remove the temp file created on step 2
590+
5. Remove the temp file created on step 2.
627591
628592
```bash
629593
sudo rm rhel8-base-sap-ha.config
630594
```
631595
632596
#### [RHEL 8._x_ - RHEL-HA (E4S)](#tab/rhel8-rhel-ha-e4s)
633597
634-
1. Create a config file by using this command
598+
1. Create a config file by using this command:
635599
636600
```bash
637601
sudo tee rhel8-ha.config > /dev/null <<< $'[rhui-microsoft-azure-rhel8-ha]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 8 (rhel8-ha)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel8-ha\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
@@ -655,7 +619,7 @@ The following steps apply if the OS version is *RHEL 8.10* and the VM was create
655619
sudo dnf repolist
656620
```
657621
658-
5. Remove the temp file created on step 2
622+
5. Remove the temp file created on step 2.
659623
660624
```bash
661625
sudo rm rhel8-ha.config
@@ -675,7 +639,7 @@ The following steps apply if the OS version is *RHEL 8.10* and the VM was create
675639
sudo dnf remove rhui-azure-rhel8-ha
676640
```
677641
678-
3. Create a config file by using this command
642+
3. Create a config file by using this command:
679643
680644
```bash
681645
sudo tee rhel8-base-ha.config > /dev/null <<< $'[rhui-microsoft-azure-rhel8-base-ha]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 8 (rhel8-base-ha)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel8-base-ha\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
@@ -692,7 +656,7 @@ The following steps apply if the OS version is *RHEL 8.10* and the VM was create
692656
```bash
693657
sudo dnf repolist
694658
```
695-
6. Remove the temp file created on step 2
659+
6. Remove the temp file created on step 3.
696660
697661
```bash
698662
sudo rm rhel8-base-ha.config
@@ -720,7 +684,7 @@ Select the tab of an SAP image type to see the corresponding instructions.
720684
721685
The following steps apply if the OS version is *earlier than the latest version that's available* that's supported by SAP for `RHEL 9.0`, and if the VM was created by using the `RHEL-SAP-APPS` offer image.
722686
723-
1. Create a config file by using this command
687+
1. Create a config file by using this command:
724688
725689
```bash
726690
sudo tee rhel9-sapapps.config > /dev/null <<< $'[rhui-microsoft-azure-rhel9-sapapps]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 9 (rhel9-sapapps)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel9-sapapps\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
@@ -744,7 +708,7 @@ The following steps apply if the OS version is *earlier than the latest version
744708
sudo dnf repolist all
745709
```
746710
747-
5. Remove the temp file created on step 2
711+
5. Remove the temp file created on step 1.
748712
749713
```bash
750714
sudo rm rhel9-sapapps.config
@@ -754,7 +718,7 @@ The following steps apply if the OS version is *earlier than the latest version
754718
755719
The following steps apply if the OS version is *earlier than the latest version available* that's supported by SAP for `RHEL 9.0`, and if the VM was created by using the `RHEL-SAP-HA` offer image.
756720
757-
1. Create a config file by using this command
721+
1. Create a config file by using this command:
758722
759723
```bash
760724
sudo tee rhel9-sap-ha.config > /dev/null <<< $'[rhui-microsoft-azure-rhel9-sap-ha]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 9 (rhel9-sap-ha)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel9-sap-ha\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
@@ -778,7 +742,7 @@ The following steps apply if the OS version is *earlier than the latest version
778742
sudo dnf repolist all
779743
```
780744
781-
5. Remove the temp file created on step 1
745+
5. Remove the temp file created on step 1.
782746
783747
```bash
784748
sudo rm rhel9-sap-ha.config
@@ -787,7 +751,7 @@ The following steps apply if the OS version is *earlier than the latest version
787751
#### [RHEL 9._x_ - RHEL-HA (E4S)](#tab/rhel9-rhel-ha-e4s)
788752
789753
790-
1. Create a config file by using this command
754+
1. Create a config file by using this command:
791755
792756
```bash
793757
sudo tee rhel9-ha.config > /dev/null <<< $'[rhui-microsoft-azure-rhel9-ha]\nname=Microsoft Azure RPMs for Red Hat Enterprise Linux 9 (rhel9-ha)\nbaseurl=https://rhui4-1.microsoft.com/pulp/repos/unprotected/microsoft-azure-rhel9-ha\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\nsslverify=1'
@@ -810,7 +774,7 @@ The following steps apply if the OS version is *earlier than the latest version
810774
```bash
811775
sudo dnf repolist
812776
```
813-
5. Remove the temp file created on step 1
777+
5. Remove the temp file created on step 1.
814778
815779
```bash
816780
sudo rm rhel9-ha.config

0 commit comments

Comments
 (0)