diff --git a/containers/jug/dev.Dockerfile b/containers/jug/dev.Dockerfile
index 0b7f25db21e56b2b58e00d60e12c066abfaf1c92..9cc4f50e3fe3c86dccec26c1f1282b71f08e86d6 100644
--- a/containers/jug/dev.Dockerfile
+++ b/containers/jug/dev.Dockerfile
@@ -131,7 +131,9 @@ spack repo add --scope site "${KEY4HEPSPACK_ROOT}"
 EOF
 
 ## Workaround for xrootd server, https://github.com/xrootd/xrootd/issues/2295
-ADD https://spaces.at.internet2.edu/download/attachments/24576265/InCommon%20RSA%20Server%20CA%202.pem?api=v2 /etc/ssl/certs/InCommon\ RSA\ Server\ CA\ 2.pem
+ADD https://spaces.at.internet2.edu/download/attachments/24576265/InCommon%20RSA%20Server%20CA%202.pem?api=v2 /usr/local/share/ca-certificates/InCommon\ RSA\ Server\ CA\ 2.pem
+RUN openssl x509 -outform der -in /usr/local/share/ca-certificates/InCommon\ RSA\ Server\ CA\ 2.pem -out /usr/local/share/ca-certificates/InCommon\ RSA\ Server\ CA\ 2.crt
+RUN update-ca-certificates
 
 ## ========================================================================================
 ## STAGE1: builder