Skip to content

Commit

Permalink
Automatically use associated private key
Browse files Browse the repository at this point in the history
  • Loading branch information
rak108 committed Jun 21, 2021
1 parent 1ef4bf5 commit 99d0687
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ COPY httpd.conf /etc/httpd/conf/httpd.conf
COPY rucio.conf /etc/httpd/conf.d/rucio.conf
COPY certs/usercert.pem certs/userkey.pem certs/usercertkey.pem $RUCIOHOME/etc/
RUN chmod 0400 $RUCIOHOME/etc/userkey.pem && mkdir /root/.ssh && \
chmod 700 /root/.ssh
chmod 700 /root/.ssh && echo "Host ssh1" > /root/.ssh/config && \
echo "IdentityFile /root/.ssh/ruciouser_sshkey" >> /root/.ssh/config


COPY certs/hostcert_rucio.pem /etc/grid-security/hostcert.pem
COPY certs/hostcert_rucio.key.pem /etc/grid-security/hostkey.pem
Expand Down

0 comments on commit 99d0687

Please sign in to comment.