informativec2026/bank/launch_browsers.sh

29 lines
No EOL
1,005 B
Bash
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
echo "🌐 Starting browsers with HTTPS certificate bypass..."
echo ""
# Chrome with certificate bypass
if command -v google-chrome &> /dev/null; then
echo "🔧 Starting Chrome with certificate bypass..."
google-chrome --ignore-certificate-errors-on-localhost https://localhost:8443 &
echo "✅ Chrome started"
elif command -v chromium &> /dev/null; then
echo "🔧 Starting Chromium with certificate bypass..."
chromium --ignore-certificate-errors-on-localhost https://localhost:8443 &
echo "✅ Chromium started"
fi
# Firefox (will need manual exception)
if command -v firefox &> /dev/null; then
echo "🔧 Starting Firefox..."
firefox https://localhost:8443 &
echo "ℹ️ Firefox started - you'll need to accept the security exception manually"
fi
echo ""
echo "📋 URLs for testing:"
echo " HTTP: http://localhost:8080"
echo " HTTPS: https://localhost:8443"
echo ""
echo "💡 For permanent setup, add security exceptions in browser settings"