91. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/18/2018 3:37:03 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

91.1 Files compared

# Location File Last Modified
1 CTT_DM2_v7.zip\CTT_ntrt-jira-ssoi-authenticator\authenticator\src\test\docker\certs make_certs.sh Tue Jun 12 16:41:44 2018 UTC
2 CTT_DM2_v7.zip\CTT_ntrt-jira-ssoi-authenticator\authenticator\src\test\docker\certs make_certs.sh Tue Jun 12 21:07:48 2018 UTC

91.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 136
Changed 2 4
Inserted 0 0
Removed 0 0

91.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

91.4 Active regular expressions

No regular expressions were active.

91.5 Comparison detail

  1   #!/usr/bin /env bash
  2  
  3   basedir=$( realpath $ (dirname $ 0))
  4   rootdir=$( realpath $ {basedir}/ ..)
  5  
  6   init () {
  7       echo ' >>> Removi ng exising  files'
  8       rm -v  ${basedir} /apache.*  ${basedir} /jira.*
  9   }
  10  
  11   make_cert  () {
  12  
  13   # see http s://sysadm in.compxtr eme.ro/how -to-deal-w ith-rsa-se rver-certi ficate-is- a-ca-certi ficate-bas icconstrai nts-ca-tru e-problem
  14  
  15       echo ' >>> Genera ting Apach e certific ate'
  16  
  17       # gene rate priva te key
  18       openss l genrsa - des3 -pass out pass:a pache -out  ${basedir }/apache.p ass.key 20 48
  19       openss l rsa -pas sin pass:a pache -in  ${basedir} /apache.pa ss.key -ou t ${basedi r}/apache. key
  20  
  21       # gene rate csr
  22         openssl re q -new -ke y ${basedi r}/apache. key -out $ {basedir}/ apache.csr  -subj "/C =US/ST=VA/ L=Herndon/ O=CTT/CN= DNS                        "
  23  
  24       # gene rate certi ficate
  25       openss l x509 -re q -days 36 50 -in ${b asedir}/ap ache.csr - signkey ${ basedir}/a pache.key  -out ${bas edir}/apac he.crt
  26   }
  27  
  28   make_keyst ore () {
  29  
  30   # see:
  31   #   https: //hutter.i o/2016/02/ 09/java-cr eate-self- signed-ssl -certifica tes-for-to mcat/
  32   #   https: //stackove rflow.com/ a/13578480
  33  
  34       echo ' >>> Genera ting JIRA  certificat e'
  35  
  36       keytoo l -genkey  -noprompt  \
  37           -a lias tomca t \
  38           -k eyalg RSA  \
  39           -v alidity 36 5 \
  40             -dname "C= US, ST=VA,  L=Herndon , O=CTT, C N= DNS                        " \
  41           -k eystore ${ basedir}/j ira.keysto re \
  42           -s torepass t omcat \
  43           -k eypass tom cat
  44   }
  45  
  46   cleanup ()  {
  47       rm ${b asedir}/ap ache.pass. key
  48       rm ${b asedir}/ap ache.csr
  49   }
  50  
  51   deploy ()  {
  52  
  53       echo ' >>> Deploy ing to jir a/build'
  54  
  55       apache dest="${ro otdir}/apa che/build/ "
  56       [ ! -d  ${apached est} ] &&  mkdir -v $ {apachedes t}
  57  
  58       jirade st="${root dir}/jira/ build/"
  59       [ ! -d  ${jirades t} ] && mk dir -v ${j iradest}
  60  
  61       cp -v  ${basedir} /apache.*  ${apachede st}
  62       cp -v  ${basedir} /apache.cr t ${jirade st}
  63       cp -v  ${basedir} /jira.keys tore ${jir adest}
  64   }
  65  
  66   init
  67   make_cert
  68   make_keyst ore
  69   cleanup
  70   deploy