# Need to enable http and https both in InfluxDB 1.8.9 OSS

**URL:** <https://community.influxdata.com/t/need-to-enable-http-and-https-both-in-influxdb-1-8-9-oss/25913>\
**Category:** InfluxDB 1\
**Tags:** influxdb, influxql\
**Created:** [July 28, 2022, 12:34pm UTC](https://community.influxdata.com/t/need-to-enable-http-and-https-both-in-influxdb-1-8-9-oss/25913 "2022-07-28T12:34:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pksankar](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/pksankar/32/10630_2.png) [@pksankar](https://community.influxdata.com/u/pksankar)\
**Post date:** [July 28, 2022, 12:34pm UTC](https://community.influxdata.com/t/need-to-enable-http-and-https-both-in-influxdb-1-8-9-oss/25913/1 "2022-07-28T12:34:22Z")

</div>

Need the InfluxDB 1.8.9 OSS instance to run with http and https.

In configuration,

> [http]
> 
> enabled = true
> 
> https-enabled = true
> 
> https-certificate=‘test.crt’  
> https-private-key = ‘test.key’

But only https was working. How to enable http also ?

Problem was some of my IoT device support only http protocol.  
But for analytics and some IoT devices supports only https protocol.

---

<div class="post-metadata">

**Author:** ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)\
**Post date:** [August 2, 2022, 7:31pm UTC](https://community.influxdata.com/t/need-to-enable-http-and-https-both-in-influxdb-1-8-9-oss/25913/2 "2022-08-02T19:31:04Z")

</div>

Hello @pksankar,  
Welcome! I’m not sure but I’m assuming you’d need two [http] sections? one for http and one for https?  
Have you tried that?
