I have just installed tomcat 10 and tried to integrate a jks file that i have been using in a tomcat 9 installation with no issue, but i was unable to start the tomcat 10 with it. Can anyone please provide a working https config for tomcat 10 i would prefer if it was with a jks file but i would be happy with pem, crt, p12 or any other certificate format.
below are the error that i have got while trying to start the tomcat 10 with jks file.
Caused by: java.lang.IllegalArgumentException: no element SSLHostConfig found with hostName [_default_] corresponding to defaultSSLHostConfigName for the connector [https-jsse-nio-8443]