/[pdpsoft]/trunk/eu.rcauth.pilot-ica/DS/ansible/roles/delegserver/templates/ca_checker.sh.j2
ViewVC logotype

Diff of /trunk/eu.rcauth.pilot-ica/DS/ansible/roles/delegserver/templates/ca_checker.sh.j2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3082 by tamasb, Thu Jul 14 10:41:27 2016 UTC revision 3083 by tamasb, Mon Aug 15 10:51:05 2016 UTC
# Line 16  if [ ! -d ${STATE_DIR} ]; then Line 16  if [ ! -d ${STATE_DIR} ]; then
16  fi  fi
17    
18  # excute openssl command  # excute openssl command
19  OUTPUT=$(echo | openssl s_client -CApath {{oa4mp_server_certificates_dir}} \  OUTPUT=$( (echo "0" ; echo -e "VERSION=MYPROXYv2\nCOMMAND=CA TEST") | \
20                          -connect {{ myproxy_ca_host }}:{{ myproxy_ca_port }} \            openssl s_client -CApath {{oa4mp_server_certificates_dir}} \
21                          -quiet -no_ign_eof -prexit 2>&1)                  -connect {{ myproxy_ca_host }}:{{ myproxy_ca_port }} \
22                    -quiet -no_ign_eof -prexit 2>&1)
23  OPENSSL_RET=$?  OPENSSL_RET=$?
24    
25  # evaluate openssl results  # evaluate openssl results

Legend:
Removed from v.3082  
changed lines
  Added in v.3083

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28