# Java Keystore and Docker

**URL:** <https://community.graylog.org/t/java-keystore-and-docker/19818>\
**Category:** Graylog Central (peer support)\
**Created:** [May 12, 2021, 2:40pm UTC](https://community.graylog.org/t/java-keystore-and-docker/19818 "2021-05-12T14:40:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gsmith](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gsmith/32/1222_2.png) [@gsmith](https://community.graylog.org/u/gsmith)\
**Post date:** [May 13, 2021, 2:56am UTC](https://community.graylog.org/t/java-keystore-and-docker/19818/2 "2021-05-13T02:56:34Z")

</div>

Hello And welcome,

Unfortunately I’m not to familiar with Docker containers.  
I did come across these Post’s. They might have some insight where you can find `dockerized JAVA Keystore`

> [@Docker TLS Activation](https://community.graylog.org/t/docker-tls-activation/288/5):
>
> You might want to use the correct setting name: GRAYLOG\_REST\_TLS\_KEY\_PASSWORD ([rest\_tls\_key\_password](https://github.com/Graylog2/graylog2-server/blob/2.2.2/misc/graylog.conf#L112-L113)). wink

> [@Configuring HTTPS with a docker container](https://community.graylog.org/t/configuring-https-with-a-docker-container/3306/3):
>
> Here is my docker-compose file: graylog: image: graylog2/server:latest container\_name: graylog hostname: graylog environment: GRAYLOG\_IS\_MASTER: "true" GRAYLOG\_PASSWORD\_SECRET: somepasswordpepper:) GRAYLOG\_ROOT\_PASSWORD\_SHA2: whocares? GRAYLOG\_SERVER\_JAVA\_OPTS: -Xms2g -Xmx4g -XX:NewRatio=1 -XX:MaxMetaspaceSize=256m -server -XX:+ResizeTLAB -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC -XX:-OmitStac…

> [@Graylog 3.0.2 docker with https settings problem](https://community.graylog.org/t/graylog-3-0-2-docker-with-https-settings-problem/10952/2):
>
> please format your posting that would make it more readable. did you have the checked that you do not overwrite any content with your volumen mount? is graylogfqdn resolving to the container adress that Graylog binds to? (default is 127.0.0.1) … does your certificate include ip and hostname?

> [@Issue with Docker and SSL](https://community.graylog.org/t/issue-with-docker-and-ssl/6180):
>
> I am attempting to run the docker 2.4 container using docker-compose and details from here: [http://docs.graylog.org/en/2.4/pages/installation/docker.html](http://docs.graylog.org/en/2.4/pages/installation/docker.html) I am also working to get SSL going, and I mostly have it working. I can get to the website and logged in fine, and it even appears it may be working (I haven’t tried yet to get logs shipping into Graylog yet to see). I used these details to setup SSL and even used this with full success on a previous install that wasn’t using docker: [http://…](http://docs.graylog.org/en/2.4/pages/configuration/https.html)

Hope that helps

---

_[View the full topic](https://community.graylog.org/t/java-keystore-and-docker/19818)._
