Skip to content

Conversation

naaa760
Copy link
Contributor

@naaa760 naaa760 commented Jul 30, 2025

  • ✨ feat

Relevant Issues

resolves #4217

What is in this change?

This PR adds SSL certificate bypass support for self-hosted Confluence instances. Users can now enable a checkbox to bypass SSL certificate validation when connecting to self-hosted Confluence instances with self-signed certificates.

Key Changes:

  • Added bypassSSL parameter throughout the Confluence connector system
  • Implemented SSL bypass logic in ConfluencePagesLoader that sets NODE_TLS_REJECT_UNAUTHORIZED='0' when enabled
  • Added conditional UI checkbox that only appears for self-hosted Confluence instances
  • Updated resync functionality to preserve SSL bypass settings
  • Added English translations for the new feature

Files Modified:

  • collector/utils/extensions/Confluence/ConfluenceLoader/index.js - Core SSL bypass logic
  • collector/utils/extensions/Confluence/index.js - Parameter passing and chunk source generation
  • frontend/src/models/dataConnector.js - API integration
  • frontend/src/components/Modals/ManageWorkspace/DataConnectors/Connectors/Confluence/index.jsx - UI implementation
  • frontend/src/locales/en/common.js - Translations
  • collector/extensions/resync/index.js - Resync support

Additional Information

This feature addresses the common issue where self-hosted Confluence instances use self-signed SSL certificates that cause connection failures. The implementation properly manages the NODE_TLS_REJECT_UNAUTHORIZED environment variable, setting it to '0' during requests and resetting it to '1' afterward to maintain security for other connections.

@naaa760 naaa760 changed the title ✨ feat: Add SSL certificate bypass support for self-hosted Confluence instances feat: Add SSL certificate bypass support for self-hosted Confluence instances Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT]: Support for self-hosted Confluence to by-pass SSL certificate checking

1 participant