Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dokumentation ca.crt import in die Homematic #11

Open
stefanbode opened this issue Aug 19, 2016 · 1 comment
Open

Dokumentation ca.crt import in die Homematic #11

stefanbode opened this issue Aug 19, 2016 · 1 comment

Comments

@stefanbode
Copy link

Das auf der homematic laufende java scheint ja nur eine minimal Installation zu sein. Es ist daher nicht klar wohin und wie das ca.art des mqtt broker kopiert werden muss.

@hangy
Copy link

hangy commented Sep 22, 2016

Ich habe etwas getrickst und einfach per SSH einen keystore mit dem CA-Zertifikat unter /usr/local/addons/hm2mqtt/cacerts abgelegt und die /usr/local/etc/config/rc.d/hm2mqtt so angepasst, dass der dort abgelegte Keystore verwendet wird:

start-stop-daemon -S -q -b -m -p /var/run/hm2mqtt.pid --exec ${JAVA_BIN} -- -Xmx32m -Djavax.net.ssl.trustStore=/usr/local/addons/hm2mqtt/cacerts -Djavax.net.ssl.trustStorePassword=changeit -jar /usr/local/addons/hm2mqtt/hm2mqtt.jar `cat /usr/local/addons/hm2mqtt/options

Mit der Einstellung stürzt der Dienst auf jeden Fall nicht mehr einfach so ab. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants