Please set the following option in the Tomcat XML config file (/var/lib/tomcat9/conf/Catalina/localhost/ROOT.xml):
<Parameter name="secure.enrollment" value="1"/>
Before this change, make sure you've updated the web panel and the launcher to the latest versions.