[SOLVED] SSL certificate error. Send message using Telegram


rule "Send telegram with Fixed Message"
Item Foo changed
sendTelegram("bot1", "item Foo changed") 


[ERROR] [o.a.telegram.internal.Telegram] - Fatal transport error: javax.net.ssl.SSLException: java.lang.IllegalStateException

Which JDK are you using?

java -version

should give you the required information for us to be able to help you further.

Thx fo reply. My java version.

openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-2ubuntu0.16.04.2-b14)
OpenJDK Zero VM (build 25.111-b14, interpreted mode)

Hmm… Sorry, I thought that maybe you were using an older version of the JDK which does not support the ciphers used by the https://telegram.org/ site.

Not very helpful comment: notification works for me, I just sent a message to my mobile from the OpenHAB2 installation build number 597, so it is not something in the OH2 software itself :frowning:

You are using OpenJDK which is not recommended. Please change to Oracle Java and give it another try.

Thx for advice. Now my java version

java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) Client VM (build 25.111-b14, mixed mode)

And all work fine!