Securing Openhab with free ssl Let's Encrypt Certificates

Then you just need to update your java. The above example is for accessing your openhab without my.openhab.
You will find more hints here: