Skip to content

Commit

Permalink
Use plain HTTP repositories for SLES16 (#1688)
Browse files Browse the repository at this point in the history
## Problem

- Accessing the HTTPS repositories fails with `Error message: SSL
certificate problem: unable to get local issuer certificate` because the
server uses the SUSE internal CA, not known by default.


## Solution

- Use plain HTTP repositories
- It is safe as the repository is GPG checked and you neeed VPN to reach
the internal server anyway.
- For production URLs later we should use HTTPS
  • Loading branch information
lslezak authored Oct 22, 2024
1 parent 86c9860 commit 5b34e24
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 7 additions & 0 deletions products.d/agama-products.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Oct 22 08:41:14 UTC 2024 - Ladislav Slezák <lslezak@suse.com>

- Use HTTP repositories for SLES16, HTTPS does not work because
of the internal SUSE CA used for the server SSL certificate
(gh#agama-project/agama#1688)

-------------------------------------------------------------------
Tru Oct 17 21:58:46 UTC 2024 - WesfunOfficial <93811710+WesfunOfficial@users.noreply.github.com>

Expand Down
7 changes: 5 additions & 2 deletions products.d/sles_160.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,16 @@ translations:
bulutta ve uçta iş açısından kritik iş yüklerini çalıştırır.
software:
installation_repositories:
# Use plain HTTP repositories, HTTPS does not work without importing the SSL
# certificate. It is safe as the repository is GPG checked and you neeed VPN
# to reach the internal server anyway.
- url: http://download.suse.de/ibs/SUSE:/SLFO:/Products:/SLES:/16.0:/TEST/product/repo/SLES-Packages-16.0-x86_64/
archs: x86_64
- url: http://download.suse.de/ibs/SUSE:/SLFO:/Products:/SLES:/16.0:/TEST/product/repo/SLES-Packages-16.0-aarch64/
archs: aarch64
- url: https://download.suse.de/ibs/SUSE:/SLFO:/Products:/SLES:/16.0:/TEST/product/repo/SLES-Packages-16.0-ppc64le/
- url: http://download.suse.de/ibs/SUSE:/SLFO:/Products:/SLES:/16.0:/TEST/product/repo/SLES-Packages-16.0-ppc64le/
archs: ppc
- url: https://download.suse.de/ibs/SUSE:/SLFO:/Products:/SLES:/16.0:/TEST/product/repo/SLES-Packages-16.0-s390x/
- url: http://download.suse.de/ibs/SUSE:/SLFO:/Products:/SLES:/16.0:/TEST/product/repo/SLES-Packages-16.0-s390x/
archs: s390

mandatory_patterns:
Expand Down

0 comments on commit 5b34e24

Please sign in to comment.