berngp / docker-zabbix

Docker Container running a Zabbix Server and Zabbix Web UI.
Other
160 stars 66 forks source link

HTTPS Support in Container? #18

Open beardface opened 9 years ago

beardface commented 9 years ago

First, this is awesome - thanks for dockerizing this!

Second, any thoughts about HTTPS support? I don't mind adding this to the container for you, but didnt' know if you had tried it yet, and if you had any ideas how this would get configured in the container?

Would something like this work? https://www.lisenet.com/2013/zabbix-1-8-19-installing-from-source-on-debian-wheezy/

beardface commented 9 years ago

I was able to get it working by adding this: yum install mod_ssl openssl

Worth noting that you get https warning (its not really secure) when you browse using the web browser... I just needed https available for the applications I'm running that are expecting https to be available from the zabbix API, so that doesn't really matter for me... but it would probably make sense to figure out how to sign the certificate at some point.

berngp commented 9 years ago

@beardface I hear you and can definitely install mod_ssl and openssl but I rather provide a mechanism to plugin the signed certs through a mount instead of building them inside the image. The signed certs are likely to be specific of the Use-Case and Company/Group/Person deploying the container.