Skip to content

Commit

Permalink
Merge pull request #39 from mlassnig/master
Browse files Browse the repository at this point in the history
fix certs
  • Loading branch information
tbeerman authored Oct 23, 2019
2 parents 9125d7f + 44bf4f0 commit e240b78
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 24 deletions.
5 changes: 0 additions & 5 deletions dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ RUN yum install -y \
python \
python-pip \
python-devel \
python34 \
python34-pip \
python34-devel \
gmp-devel \
krb5-devel \
git \
Expand Down Expand Up @@ -70,7 +67,6 @@ RUN pip install -r /tmp/rucio/tools/pip-requires
RUN pip install -r /tmp/rucio/tools/pip-requires-test
RUN pip install psycopg2-binary
RUN ln -s $RUCIOHOME/lib/rucio /usr/lib/python2.7/site-packages/rucio
RUN ln -s $RUCIOHOME/lib/rucio /usr/lib/python3.4/site-packages/rucio

COPY .pep8 .pep8
COPY .flake8 .flake8
Expand All @@ -86,7 +82,6 @@ COPY alembic.ini $RUCIOHOME/etc/alembic.ini
COPY aliases-py27.conf $RUCIOHOME/etc/web/aliases-py27.conf
COPY ui-aliases-py27.conf $RUCIOHOME/etc/web/ui-aliases-py27.conf
COPY google-cloud-storage-test.json $RUCIOHOME/etc/google-cloud-storage-test.json
COPY certs/rucio_ca.pem $RUCIOHOME/etc/web/CERN-bundle.pem
COPY certs/rucio_ca.pem /etc/grid-security/certificates/5fca1cb1.0

COPY 00-mpm.conf /etc/httpd/conf.modules.d/00-mpm.conf
Expand Down
32 changes: 16 additions & 16 deletions dev/rucio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ auth_type = userpass
username = ddmlab
password = secret
ca_cert = /etc/grid-security/certificates/5fca1cb1.0
client_cert = /opt/rucio/etc/certs/usercert.pem
client_key = /opt/rucio/etc/certs/userkey.pem
client_cert = /opt/rucio/etc/usercert.pem
client_key = /opt/rucio/etc/userkey.pem
client_x509_proxy = $X509_USER_PROXY
account = root
request_retries = 3
Expand All @@ -31,7 +31,7 @@ userpass_identity = ddmlab
userpass_pwd = 2ccee6f6dd1bc2269cddd7cd5e47578e98e430539807c36df23fab7dd13e7583
userpass_email = [email protected]

# Default development client certificate from /opt/rucio/etc/certs/usercert.pem
# Default development client certificate from /opt/rucio/etc/usercert.pem
x509_identity = /CN=Rucio User
x509_email = [email protected]

Expand All @@ -54,12 +54,12 @@ scheme = https,davs,gsiftp,root,srm
transfertool = fts3
ftshosts = https://fts:8446
cacert = /etc/grid-security/certificates/5fca1cb1.0
usercert = /opt/rucio/etc/certs/usercertkey.pem
usercert = /opt/rucio/etc/usercertkey.pem

[messaging-fts3]
port = 61123
ssl_key_file = /opt/rucio/etc/certs/usercert.key.pem
ssl_cert_file = /opt/rucio/etc/certs/usercert.pem
ssl_key_file = /opt/rucio/etc/userkey.pem
ssl_cert_file = /opt/rucio/etc/usercert.pem
destination = /topic/transfer.fts_monitoring_queue_state
brokers = activemq
voname = atlas
Expand All @@ -71,8 +71,8 @@ port = 61613
nonssl_port = 61613
use_ssl = False
destination = /queue/events
ssl_key_file = /opt/rucio/etc/certs/usercert.key.pem
ssl_cert_file = /opt/rucio/etc/certs/usercert.pem
ssl_key_file = /opt/rucio/etc/userkey.pem
ssl_cert_file = /opt/rucio/etc/usercert.pem
brokers = activemq
voname = atlas
email_from = Rucio <[email protected]>
Expand Down Expand Up @@ -104,8 +104,8 @@ topic = /topic/rucio.tracer
[tracer-kronos]
brokers=activemq
port=61013
ssl_key_file = /opt/rucio/etc/certs/usercert.key.pem
ssl_cert_file = /opt/rucio/etc/certs/usercert.pem
ssl_key_file = /opt/rucio/etc/userkey.pem
ssl_cert_file = /opt/rucio/etc/usercert.pem
queue = /queue/Consumer.kronos.rucio.tracer
prefetch_size = 10
chunksize = 10
Expand All @@ -128,21 +128,21 @@ cfg = /opt/rucio/etc/alembic.ini

[messaging-cache]
port = 61023
ssl_key_file = /opt/rucio/etc/certs/usercert.key.pem
ssl_cert_file = /opt/rucio/etc/certs/usercert.pem
ssl_key_file = /opt/rucio/etc/userkey.pem
ssl_cert_file = /opt/rucio/etc/usercert.pem
destination = /topic/rucio.cache
brokers = activemq
voname = atlas
account = cache_mb

[test]
cacert = /etc/grid-security/certificates/5fca1cb1.0
usercert = /opt/rucio/etc/certs/ruciouser.pem
userkey = /opt/rucio/etc/certs/ruciouser.key.pem
usercert = /opt/rucio/etc/usercert.pem
userkey = /opt/rucio/etc/userkey.pem

[nagios]
proxy = /opt/rucio/etc/certs/usercertkey.pem
rfcproxy = /opt/rucio/etc/certs/usercertkey.pem
proxy = /opt/rucio/etc/usercertkey.pem
rfcproxy = /opt/rucio/etc/usercertkey.pem
fts_servers = https://fts3:8446

[auditor]
Expand Down
3 changes: 0 additions & 3 deletions dev/rucio.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
LoadModule wsgi_module /usr/lib64/httpd/modules/mod_wsgi.so

LoadModule ssl_module /usr/lib64/httpd/modules/mod_ssl.so
SSLSessionCache shmcb:/var/log/httpd/ssl_scache(512000)

Listen 443
Expand Down

0 comments on commit e240b78

Please sign in to comment.