olzabout.blogg.se

Check point certificate VPN
Check point certificate VPN












check point certificate VPN check point certificate VPN

#make list with expiration date, month and yearĮXPIRED=$(python -c "lst='$CERT_INFO'.split('Not_After:') print(lst.split())")ĮXPIRED_DATE=$( python -c "print($EXPIRED)" )ĮXPIRED_MONTH=$( python -c "print($EXPIRED)" )ĮXPIRED_YEAR=$( python -c "print($EXPIRED)" )ĭIFF=$(python -c "from datetime import (date, datetime) print date(2023, datetime.strptime('$EXPIRED_MONTH','%b').month, 11).toordinal() - date.today().toordinal()")Įcho -e "Subject: CheckPoint VPN certificate expiration\r\n\r\nVPN certificate will be expired in $DIFF days.\r\n\n\n $CERTIFICATE.\r\n " | sendmail -domain= -f -v -host=Įcho -e "Subject: CheckPoint VPN certificate expiration\r\n\r\nVPN certificate will be expired in $DIFF days.\r\n\n\n $CERTIFICATE. The IKE certificate of a non-VPN Security Gateway, which used to have the IPsec VPN blade enabled at one point in time, has expired. Would you be able to give us more details about the VPN Checkpoint client you are planning to use with MobiControl What is the make, model.

check point certificate VPN

#get string with expiration date from certificate infoĬERT_INFO=`cpca_client lscert -stat Valid -dn | grep Not_After` It may be usefull for youĬERTIFICATE=`cpca_client lscert -stat Valid -dn `














Check point certificate VPN