Skip to content

Commit

Permalink
docker: add more WLCG site certificates
Browse files Browse the repository at this point in the history
Adds more WLCG certificates for non-CERN sites, solving observed issues
with Rucio client accessing data located on non-CERN sites.
  • Loading branch information
tiborsimko committed Sep 11, 2023
1 parent 88f9876 commit 8cb239f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
15 changes: 10 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@ USER root

COPY ./linuxsupport7s-stable.repo /etc/yum.repos.d/

# Add the rucio configuration template
# Add Rucio client configuration template
COPY --chown=user:user files/rucio.cfg.j2 /opt/user/rucio.cfg.j2

# Add CA certificates
RUN yum -y install ca-certificates ca-policy-egi-core && \
yum install -y CERN-CA-certs && \
yum clean all && \
# Add EGI CA certificates
COPY ./EGI-trustanchors.repo /etc/yum.repos.d/

# Install certificates
RUN yum -y install \
CERN-CA-certs \
ca-certificates \
ca-policy-egi-core && \
yum -y clean all && \
rm -rf /var/cache/yum

USER user
Expand Down
6 changes: 6 additions & 0 deletions EGI-trustanchors.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[EGI-trustanchors]
name=EGI-trustanchors
baseurl=https://repository.egi.eu/sw/production/cas/1/current/
enabled=1
gpgcheck=1
gpgkey=https://repository.egi.eu/sw/production/cas/1/GPG-KEY-EUGridPMA-RPM-3
7 changes: 6 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Inside the container Rucio commands can be executed, for example via:
$ rucio whoami
Dependencies
=============
============

Building the container and successfully obtaining Rucio configuration requires
additional files present in this repository:
Expand All @@ -58,6 +58,11 @@ additional files present in this repository:
Changes
=======

Version 1.1.1 (UNRELEASED)
--------------------------

- Adds more WLCG certificates to facilitate data access to outside-CERN sites.

Version 1.1.0 (2023-08-22)
--------------------------

Expand Down

0 comments on commit 8cb239f

Please sign in to comment.