29 lines
No EOL
1,005 B
Bash
29 lines
No EOL
1,005 B
Bash
#!/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" |