Commit acab9ffe authored by Cédric BRINER's avatar Cédric BRINER Committed by Cédric BRINER
Browse files

minor bug

parent eef63224
......@@ -1347,7 +1347,7 @@ EOF
sscp "tomcat7 manager.xml" /etc/tomcat7/Catalina/localhost/manager.xml root@${h}:/etc/tomcat7/Catalina/localhost/manager.xml
# check that tomcat7 user is in group ssl-cert
pb "Does tomcat7 is un group ssl-cert:"
if ssh root@{h} "id tomcat7|grep -Fb ssl-cert"; then
if ssh root@${h} "id tomcat7|grep -Fb ssl-cert"; then
pg "Yes !" | indent 3
else:
if ssh root@{h} "- adduser tomcat7 ssl-cert" | indent 3; then
......@@ -1366,7 +1366,7 @@ EOF
pb "- server.crt"
make_distant_link "${h}" /etc/ssl/certs/idp${ltp_suffix}.unige.ch.crt /etc/ssl/certs/server.crt | indent 6
pb "- server_chain.crt"
make_distant_link "${h}" /etc/ssl/certs/idp${ltp_suffix}.unige.ch.chain_crt /etc/ssl/certs/server.chain_crt | indent 6
make_distant_link "${h}" /etc/ssl/certs/idp${ltp_suffix}.unige.ch.chain_crt /etc/ssl/certs/server_chain.crt | indent 6
pb "- server.key"
make_distant_link "${h}" /etc/ssl/private/idp${ltp_suffix}.unige.ch.chain_crt /etc/ssl/certs/server.key | indent 6
# rebuild tomcat
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment