Files
haproxy-openmanager/frontend
taylanbakircioglu 22bbd17a0c Fix: Frontend SSL auto-matching - Parser + UI display
COMPLETE FRONTEND SSL AUTO-MATCHING FIX:

Two Critical Fixes:

1. Parser SSL Path Storage (haproxy_config_parser.py Line 267):
   Added: frontend.ssl_cert_path = cert_paths[0]

   Before:
     Extracted SSL paths but didn't store
     Bulk import had no path to extract name from

   After:
     Stores first cert path
     Bulk import can extract name and match

2. UI SSL Display (BulkConfigImport.js Line 188-209):
   Replaced static "No SSL (Bulk Import)" with dynamic display

   Shows:
     - SSL Enabled + Auto-matched (X cert) [Green]
     - SSL (No Match) [Orange]
     - No SSL [Gray]

Complete Flow Verified:
  1. Config: bind :443 ssl crt /etc/ssl/certs/demo-cert.pem
  2. Parser: ssl_cert_path stored ✓
  3. Bulk import: Extracts demo-cert ✓
  4. Matches: SSL Management has demo-cert SYNCED ✓
  5. Response: ssl_enabled=True, ssl_certificate_ids=[3] ✓
  6. UI Parse: Shows [SSL Enabled] Auto-matched ✓
  7. Create: INSERT with ssl_certificate_ids ✓
  8. Edit modal: SSL enabled + demo-cert selected ✓
  9. Apply: Config with SSL path generated ✓
  10. HAProxy: Validation PASS ✓

Both frontend and backend SSL auto-matching now complete!
2025-11-07 11:51:15 +03:00
..
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00
2025-10-27 12:14:03 +03:00