From ddab610315057dc2a0fa309fc6639f4b921ece30 Mon Sep 17 00:00:00 2001
From: Dominic Robinson <dominic.robinson@digital.justice.gov.uk>
Date: Mon, 27 Nov 2023 15:36:07 +0000
Subject: [PATCH] Oracle Secure Backup fix for older versions of OS

---
 ansible/roles/oracle-secure-backup/templates/install.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ansible/roles/oracle-secure-backup/templates/install.sh b/ansible/roles/oracle-secure-backup/templates/install.sh
index 76f6f6eb1..f875d06f8 100755
--- a/ansible/roles/oracle-secure-backup/templates/install.sh
+++ b/ansible/roles/oracle-secure-backup/templates/install.sh
@@ -1,3 +1,3 @@
 #!/bin/bash
 export PATH=$PATH:"{{ osw_stage_dir }}/jdk1.7.0_80/bin"
-java -jar "{{ osw_stage_dir }}/osbws_install.jar" -ARGFILE "{{ osw_stage_dir }}/{{ osbws_config.name }}_argfile" -IAMRole "{{ ansible_ec2_iam_instance_profile_role }}" -useHttps | logger -p local3.info -t java
+java -jar "{{ osw_stage_dir }}/osbws_install.jar" -ARGFILE "{{ osw_stage_dir }}/{{ osbws_config.name }}_argfile" -IAMRole "{{ ansible_ec2_iam_instance_profile_role }}" -useHttps -no-check-certificate | logger -p local3.info -t java