#!/usr/bin/sh
#***********************************************************************************************************
#  Copyright [2024] Open Text.
#
#  The only warranties for products and services of Open Text and its affiliates and licensors (“Open Text”)
#  are as may be set forth in the express warranty statements accompanying such products and services.
#  Nothing herein should be construed as constituting an additional warranty. Open Text shall not be liable
#  for technical or editorial errors or omissions contained herein. The information contained herein is
#  subject to change without notice.
#***********************************************************************************************************

if [ ! -f /usr/share/pki/trust/anchors/SSCert.pem ]; then
	logger -p "info"  "pre_mfa_agent SSCert.pem does not exist, copying"
	/usr/bin/cp -f /etc/opt/novell/certs/SSCert.pem /usr/share/pki/trust/anchors/SSCert.pem >> /dev/null 2>&1
else 
	logger -p "info" "pre_mfa_agent SSCert.pem does exist"
fi


if [ ! -f /usr/share/pki/trust/anchors/SSECCert.pem ]; then
        logger -p "info" "pre_mfa_agent SSECCert.pem does not exist, copying";
        /usr/bin/cp -f /etc/opt/novell/certs/SSECCert.pem /usr/share/pki/trust/anchors/SSECCert.pem >> /dev/null 2>&1
else
	logger -p "info" "pre_mfa_agent SSECCert.pem does exist"
fi

