Vaadin Flow Https Setup

Hey,

I’ve been researching this for days but i just cant find it, anyone knows of a nice tutorial on how to setup https for a vaadin flow application? I only found old ways for vaadin 8.

Nejc Zagrušovcem

This may be unrelated to Vaadin. You need to install a SSL (TLS) certificate for your Servlet Container (tomcat?) and change the listener port of it.

So, if I can connect to my application via https it works? I get varying amount of TypeError javascript errors every time I try it, always varying between 3 and 150, with usually a “An SSL certificate error occurred when fetching the script.” error in there.

Any idea why this is happening?

Nejc Zagrušovcem

The application should work without any changes for HTTPS access. The TypeError issue is definitely not related to this. However, if you have any script access with hard-coded HTTP, it should be changed.