# Error activating rule…

**URL:** <https://discuss.elastic.co/t/error-activating-rule/248424>\
**Category:** SIEM\
**Tags:** docker\
**Created:** [September 12, 2020, 10:16pm UTC](https://discuss.elastic.co/t/error-activating-rule/248424 "2020-09-12T22:16:44Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Frank\_Hassanabad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frank_hassanabad/32/49255_2.png) [@Frank\_Hassanabad](https://discuss.elastic.co/u/Frank_Hassanabad)\
**Post date:** [September 15, 2020, 3:06pm UTC](https://discuss.elastic.co/t/error-activating-rule/248424/4 "2020-09-15T15:06:01Z")

</div>

Do you have both http and https turned on there? I'm not a big developer on docker at the moment but before when there were problems:

> [@"path: /\_security/api\_key... api keys are not enabled" while loading prebuilt detection rules](https://discuss.elastic.co/t/path-security-api-key-api-keys-are-not-enabled-while-loading-prebuilt-detection-rules/219319):
>
> I upgraded to 7.6.0 today. I wanted to try Detections, but I'm getting error (below) when clicking "load prebuilt detection rules". My complete Kibana config: --- ## Default Kibana configuration from Kibana base image. ## https://github.com/elastic/kibana/blob/master/src/dev/build/tasks/os\_packages/docker\_generator/templates/kibana\_yml.template.js # server.name: kibana server.host: "0" elasticsearch.hosts: ["http://elasticsearch:9200"] xpack.monitoring.ui.container.elasticsearch.enabled: fa…

The solution usually was they had to ensure they were using the SSL/https within docker to be able to use the API keys feature.

---

_[View the full topic](https://discuss.elastic.co/t/error-activating-rule/248424)._
