set -e source helpers.sh start_up CRYPTO_PROFILE="RSA" setup_fapi $CRYPTO_PROFILE function cleanup { tss2 delete --path=/ shut_down } trap cleanup EXIT KEY_PATH=HS/SRK/myRSACrypt READ_CERTIFICATE_FILE=$TEMP_DIR/read_certificate.file WRITE_CERTIFICATE_FILE=$TEMP_DIR/write_certificate.file cat > $WRITE_CERTIFICATE_FILE <