Verification of fields in trust/key store
[integration/csit.git] / plans / aaf / certservice / setup.sh
index 995b31d..93d65f7 100644 (file)
@@ -35,6 +35,14 @@ pip uninstall -y docker-py
 pip uninstall -y docker
 pip install -U docker==2.7.0
 
+#reinstall pyopenssl library
+echo "Reinstall pyopenssl library."
+pip uninstall pyopenssl -y
+pip install pyopenssl==17.5.0
+
+#Disable proxy - for local run
+unset http_proxy https_proxy
+
 #export container name
 export ClientContainerName=CertServiceClient
 # ------------------------------------
@@ -81,7 +89,7 @@ do
    sleep 30s
 done
 
-if [[ $AAFCERT_IP == 'none' ] || [ $AAFCERT_IP == '' ]]; then
+if [ "$AAFCERT_IP" == 'none' -o "$AAFCERT_IP" == '' ]; then
     echo "AAF Cert Service is not ready!"
     exit 1 # Return error code
 fi