Skip to content

InfluxDB Publisher v1: Add support for HTTPS connection#433

Merged
BrianJKoopman merged 3 commits intomainfrom
koopman/influxdb-ssl-creds
Aug 2, 2025
Merged

InfluxDB Publisher v1: Add support for HTTPS connection#433
BrianJKoopman merged 3 commits intomainfrom
koopman/influxdb-ssl-creds

Conversation

@BrianJKoopman
Copy link
Member

Description

This PR adds support for connecting to InfluxDB over HTTPS, adding the ability to set the ssl and verify_ssl arguments, which get passed to the InfluxDBClient object.

It also passes these new arguments (and the new credentials implemented in #431) to the client object whenever the connection is lost and the agent tries to reconnect.

Motivation and Context

SSL support was requested in #430 (reply in thread).

How Has This Been Tested?

I have not tested SSL support, but have tested with the default False arguments, and HTTP connections continue to work.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@BrianJKoopman BrianJKoopman changed the title Koopman/influxdb ssl creds InfluxDB v1: Add support for HTTPS connection Aug 1, 2025
@BrianJKoopman BrianJKoopman changed the title InfluxDB v1: Add support for HTTPS connection InfluxDB Publisher v1: Add support for HTTPS connection Aug 1, 2025
@BrianJKoopman BrianJKoopman added the enhancement New feature or request label Aug 1, 2025
@BrianJKoopman
Copy link
Member Author

Tested with an HTTPS connection in #430 (reply in thread). Merging.

@BrianJKoopman BrianJKoopman merged commit b43fe13 into main Aug 2, 2025
5 checks passed
@BrianJKoopman BrianJKoopman deleted the koopman/influxdb-ssl-creds branch August 2, 2025 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant