Files
proxmox/scripts/print-npmplus-7-cert-edit-urls.sh.bak
defiQUG fbda1b4beb
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
docs: Ledger Live integration, contract deploy learnings, NEXT_STEPS updates
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands
- CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround
- CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check
- NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere
- MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates
- LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 15:46:57 -08:00

28 lines
1.4 KiB
Bash
Executable File

#!/usr/bin/env bash
# Print direct NPMplus edit URLs for the 7 proxy hosts that need a certificate.
# Open each URL → SSL tab → Request new certificate → DNS Challenge → Cloudflare.
# Uses NPM_URL from .env or default.
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
cd "$PROJECT_ROOT"
[ -f .env ] && { set +u; set -a; source .env 2>/dev/null || true; set +a; set -u; }
NPM_URL="${NPM_URL:-https://192.168.11.167:81}"
BASE="${NPM_URL%/}"
echo ""
echo "Open each URL, then: SSL tab → Request a new SSL Certificate → DNS Challenge → Cloudflare → (credential) → Submit"
echo ""
printf "%-35s %s\n" "Domain" "Edit URL"
echo "----------------------------------------------------------------------"
printf "%-35s %s\n" "cross-all.defi-oracle.io" "${BASE}/#/proxy-hosts/edit/22"
printf "%-35s %s\n" "rpc.d-bis.org" "${BASE}/#/proxy-hosts/edit/26"
printf "%-35s %s\n" "rpc.defi-oracle.io" "${BASE}/#/proxy-hosts/edit/24"
printf "%-35s %s\n" "rpc2.d-bis.org" "${BASE}/#/proxy-hosts/edit/27"
printf "%-35s %s\n" "ws.rpc.d-bis.org" "${BASE}/#/proxy-hosts/edit/28"
printf "%-35s %s\n" "ws.rpc2.d-bis.org" "${BASE}/#/proxy-hosts/edit/29"
printf "%-35s %s\n" "wss.defi-oracle.io" "${BASE}/#/proxy-hosts/edit/25"
echo ""
echo "Cloudflare credential content (paste in NPM): run ./scripts/certbot/print-cloudflare-credentials-from-env.sh"
echo ""