My.openhab.org is online // iOS app doesn't show sitemap -> Solution: Java update!

Looks good … sorry, no more ideas…

Ok danke für die Hilfe :slight_smile:

Maybe someone different could help me :sweat:

just an information for other people with some problem.

I switched from my.openhab to myopenhab and use the openhab cloud connector for remote access.

For those that don’t want override apt-get install of java, and faff about with manually installing java.

As someone mentions at the start of this topic, installing the lets encrypt cert to the java cert store works nicely, so this is an alternate (and slightly easier ) method of getting myopenhab.org working again! Currently the latest java out in the raspberry pi repository is 1.8.0_65, so you have to do a manual installed (as suggested in this thread) of java 1.8.0_101+

wget https://letsencrypt.org/certs/isrgrootx1.pem
wget https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem
sudo keytool -trustcacerts -keystore /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/lib/security/cacerts -storepass changeit -noprompt -importcert -file isrgrootx1.pem -alias letsencrpyt1
sudo keytool -trustcacerts -keystore /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/lib/security/cacerts -storepass changeit -noprompt -importcert -file lets-encrypt-x3-cross-signed.pem -alias letsencrpyt2
sudo systemctl restart openhab

Some explanation.
First 2 wget's are just getting the cert chain from lets encrypt (https://letsencrypt.org/certificates/)

Second 2 commands are importing these chains into java’s certificate store. You will just need to modify the path to be where your java is installed. This path was the default path from the apt-get installation of oracle java (this should be accessible via $JAVA_HOME environment variable)

and of course, things will not start working until you do a reboot

After rebooting my.openhab2 on Pi3 is Online. Thank you.

1 Like

thank you for your help

1 Like