Ubuntu and Tomcat10 - Web Portal is not working - HELP PLEASE

Hi,

I have installed Ciphermail on Ubuntu with Tomcat10. The services appear to be working, but I am unable to access the WebGui site at the following address: https://localhost:8443/ciphermail.

Here is my server.xml and log file:

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE config [

]>

    <!-- 
       Configure HTTPS connector.
    -->
    <Connector
        port="8443"
        connectionTimeout="20000"
        maxThreads="150"
        scheme="https"
        secure="true"
        SSLEnabled="true"
        proxyName="&proxyName;"
        protocol="org.apache.coyote.http11.Http11NioProtocol">
        
        <SSLHostConfig hostName="_default_">
            <Certificate 
                certificateKeystoreFile="/usr/share/djigzo-web/ssl/sslCertificate.p12"
                certificateKeystorePassword="djigzo"
                certificateKeystoreType="PKCS12"
                type="RSA"/>
            <!-- Możesz również określić protokoły, jeśli jest to wymagane -->
            <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
        </SSLHostConfig>
        
    </Connector>

    <Engine name="Catalina" defaultHost="localhost">
        <Host name="localhost" appBase="webapps" unpackWARs="true"/> 
    </Engine>
</Service>

Tomcat LOG:
Aug 14 11:41:55 ciphermail systemd[1]: Starting tomcat10.service - Apache Tomcat 10 Web Application Server…
Aug 14 11:41:55 ciphermail systemd[1]: Started tomcat10.service - Apache Tomcat 10 Web Application Server.
Aug 14 11:41:57 ciphermail tomcat10[12519]: Server version name: Apache Tomcat/10.1.16 (Ubuntu)
Aug 14 11:41:57 ciphermail tomcat10[12519]: Server built: Dec 3 2023 12:31:22 UTC
Aug 14 11:41:57 ciphermail tomcat10[12519]: Server version number: 10.1.16.0
Aug 14 11:41:57 ciphermail tomcat10[12519]: OS Name: Linux
Aug 14 11:41:57 ciphermail tomcat10[12519]: OS Version: 6.8.0-40-generic
Aug 14 11:41:57 ciphermail tomcat10[12519]: Architecture: amd64
Aug 14 11:41:57 ciphermail tomcat10[12519]: Java Home: /usr/lib/jvm/java-11-openjdk-amd64
Aug 14 11:41:57 ciphermail tomcat10[12519]: JVM Version: 11.0.24+8-post-Ubuntu-1ubuntu324.04.1
Aug 14 11:41:57 ciphermail tomcat10[12519]: JVM Vendor: Ubuntu
Aug 14 11:41:57 ciphermail tomcat10[12519]: CATALINA_BASE: /var/lib/tomcat10
Aug 14 11:41:57 ciphermail tomcat10[12519]: CATALINA_HOME: /usr/share/tomcat10
Aug 14 11:41:57 ciphermail tomcat10[12519]: Command line argument: -Djava.util.logging.config.file=/var/lib/tomcat10/conf/logging.properties
Aug 14 11:41:57 ciphermail tomcat10[12519]: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Aug 14 11:41:57 ciphermail tomcat10[12519]: Command line argument: -Djava.awt.headless=true
Aug 14 11:41:57 ciphermail tomcat10[12519]: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
Aug 14 11:41:57 ciphermail tomcat10[12519]: Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
Aug 14 11:41:57 ciphermail tomcat10[12519]: Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
Aug 14 11:41:57 ciphermail tomcat10[12519]: Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
Aug 14 11:41:57 ciphermail tomcat10[12519]: Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
Aug 14 11:41:57 ciphermail tomcat10[12519]: Command line argument: --add-opens=java.base/java.util=ALL-UNNAMED
Aug 14 11:41:57 ciphermail tomcat10[12519]: Command line argument: --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
Aug 14 11:41:57 ciphermail tomcat10[12519]: Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Aug 14 11:41:57 ciphermail tomcat10[12519]: Command line argument: -Dcatalina.base=/var/lib/tomcat10
Aug 14 11:41:57 ciphermail tomcat10[12519]: Command line argument: -Dcatalina.home=/usr/share/tomcat10
Aug 14 11:41:57 ciphermail tomcat10[12519]: Command line argument: -Djava.io.tmpdir=/tmp
Aug 14 11:41:57 ciphermail tomcat10[12519]: An older version [1.2.35] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [2.0.5]
Aug 14 11:41:57 ciphermail tomcat10[12519]: Loaded Apache Tomcat Native library [1.2.35] using APR version [1.7.2].
Aug 14 11:41:57 ciphermail tomcat10[12519]: OpenSSL successfully initialized [OpenSSL 3.0.13 30 Jan 2024]
Aug 14 11:41:58 ciphermail tomcat10[12519]: Initializing ProtocolHandler [“http-nio-8080”]
Aug 14 11:41:58 ciphermail tomcat10[12519]: Server initialization in [1819] milliseconds
Aug 14 11:41:58 ciphermail tomcat10[12519]: Starting service [Catalina]
Aug 14 11:41:58 ciphermail tomcat10[12519]: Starting Servlet engine: [Apache Tomcat/10.1.16 (Ubuntu)]
Aug 14 11:41:58 ciphermail tomcat10[12519]: Deploying web application directory [/var/lib/tomcat10/webapps/ROOT]
Aug 14 11:42:00 ciphermail tomcat10[12519]: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 14 11:42:00 ciphermail tomcat10[12519]: Deployment of web application directory [/var/lib/tomcat10/webapps/ROOT] has finished in [1,821] ms
Aug 14 11:42:00 ciphermail tomcat10[12519]: Starting ProtocolHandler [“http-nio-8080”]
Aug 14 11:42:00 ciphermail tomcat10[12519]: Server startup in [1971] milliseconds
Aug 14 12:09:50 ciphermail tomcat10[12519]: Deploying deployment descriptor [/etc/tomcat10/Catalina/localhost/ciphermail.xml]
Aug 14 12:09:55 ciphermail tomcat10[12519]: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 14 12:09:55 ciphermail tomcat10[12519]: One or more Filters failed to start. Full details will be found in the appropriate container log file
Aug 14 12:09:55 ciphermail tomcat10[12519]: Context [/ciphermail] startup failed due to previous errors
Aug 14 12:09:56 ciphermail tomcat10[12519]: Deployment of deployment descriptor [/etc/tomcat10/Catalina/localhost/ciphermail.xml] has finished in [5,056] ms
Aug 14 12:10:26 ciphermail tomcat10[12519]: Deploying deployment descriptor [/etc/tomcat10/Catalina/localhost/web.xml]
Aug 14 12:10:29 ciphermail tomcat10[12519]: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 14 12:10:30 ciphermail tomcat10[12519]: One or more Filters failed to start. Full details will be found in the appropriate container log file
Aug 14 12:10:30 ciphermail tomcat10[12519]: Context [/web] startup failed due to previous errors
Aug 14 12:10:30 ciphermail tomcat10[12519]: Deployment of deployment descriptor [/etc/tomcat10/Catalina/localhost/web.xml] has finished in [4,020] ms
Aug 14 12:11:17 ciphermail systemd[1]: Stopping tomcat10.service - Apache Tomcat 10 Web Application Server…
Aug 14 12:11:17 ciphermail tomcat10[12519]: Pausing ProtocolHandler [“http-nio-8080”]
Aug 14 12:11:17 ciphermail tomcat10[12519]: Stopping service [Catalina]
Aug 14 12:11:17 ciphermail tomcat10[12519]: Stopping ProtocolHandler [“http-nio-8080”]
Aug 14 12:11:17 ciphermail tomcat10[12519]: Destroying ProtocolHandler [“http-nio-8080”]
Aug 14 12:11:18 ciphermail systemd[1]: tomcat10.service: Deactivated successfully.
Aug 14 12:11:18 ciphermail systemd[1]: Stopped tomcat10.service - Apache Tomcat 10 Web Application Server.
Aug 14 12:11:18 ciphermail systemd[1]: tomcat10.service: Consumed 27.609s CPU time, 429.6M memory peak, 0B memory swap peak.
Aug 14 12:11:18 ciphermail systemd[1]: Starting tomcat10.service - Apache Tomcat 10 Web Application Server…
Aug 14 12:11:18 ciphermail systemd[1]: Started tomcat10.service - Apache Tomcat 10 Web Application Server.
Aug 14 12:11:19 ciphermail tomcat10[13321]: Match [Server/Service/Connector] failed to set property [sslProtocol] to [TLS]
Aug 14 12:11:19 ciphermail tomcat10[13321]: Match [Server/Service/Connector] failed to set property [sslEnabledProtocols] to [TLSv1.2]
Aug 14 12:11:19 ciphermail tomcat10[13321]: Match [Server/Service/Connector] failed to set property [keystoreFile] to [/usr/share/djigzo-web/ssl/sslCertificate.p12]
Aug 14 12:11:19 ciphermail tomcat10[13321]: Match [Server/Service/Connector] failed to set property [keystorePass] to [djigzo]
Aug 14 12:11:19 ciphermail tomcat10[13321]: Match [Server/Service/Connector] failed to set property [keystoreType] to [PKCS12]
Aug 14 12:11:20 ciphermail tomcat10[13321]: Initializing ProtocolHandler [“https-jsse-nio-8443”]
Aug 14 12:11:20 ciphermail tomcat10[13321]: Failed to initialize component [Connector[“https-jsse-nio-8443”]]
Aug 14 12:11:20 ciphermail tomcat10[13321]: org.apache.catalina.LifecycleException: Protocol handler initialization failed
Aug 14 12:11:20 ciphermail tomcat10[13321]: at org.apache.catalina.connector.Connector.initInternal(Connector.java:1015)
Aug 14 12:11:20 ciphermail tomcat10[13321]: at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:127)
Aug 14 12:11:20 ciphermail tomcat10[13321]: at org.apache.catalina.core.StandardService.initInternal(StandardService.java:554)
Aug 14 12:11:20 ciphermail tomcat10[13321]: at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:127)
Aug 14 12:11:20 ciphermail tomcat10[13321]: at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:1010)
Aug 14 12:11:20 ciphermail tomcat10[13321]: at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:127)
Aug 14 12:11:20 ciphermail tomcat10[13321]: at org.apache.catalina.startup.Catalina.load(Catalina.java:747)
Aug 14 12:11:20 ciphermail tomcat10[13321]: at org.apache.catalina.startup.Catalina.load(Catalina.java:769)
Aug 14 12:11:20 ciphermail tomcat10[13321]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Aug 14 12:11:20 ciphermail tomcat10[13321]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Aug 14 12:11:20 ciphermail tomcat10[13321]: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Aug 14 12:11:20 ciphermail tomcat10[13321]: at java.base/java.lang.reflect.Method.invoke(Method.java:566)
Aug 14 12:11:20 ciphermail tomcat10[13321]: at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:307)
Aug 14 12:11:20 ciphermail tomcat10[13321]: at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:477)
Aug 14 12:11:20 ciphermail tomcat10[13321]: Caused by: java.lang.IllegalArgumentException: No SSLHostConfig element was found with the hostName [default] to match the defaultSSLHostConfigName for the connector [https-jsse-nio-8443]
Aug 14 12:11:20 ciphermail tomcat10[13321]: at org.apache.tomcat.util.net.AbstractJsseEndpoint.initialiseSsl(AbstractJsseEndpoint.java:75)
Aug 14 12:11:20 ciphermail tomcat10[13321]: at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:207)
Aug 14 12:11:20 ciphermail tomcat10[13321]: at org.apache.tomcat.util.net.AbstractEndpoint.bindWithCleanup(AbstractEndpoint.java:1280)
Aug 14 12:11:20 ciphermail tomcat10[13321]: at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1293)
Aug 14 12:11:20 ciphermail tomcat10[13321]: at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:624)
Aug 14 12:11:20 ciphermail tomcat10[13321]: at org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:77)
Aug 14 12:11:20 ciphermail tomcat10[13321]: at org.apache.catalina.connector.Connector.initInternal(Connector.java:1013)
Aug 14 12:11:20 ciphermail tomcat10[13321]: … 13 more
Aug 14 12:11:20 ciphermail tomcat10[13321]: Server initialization in [1819] milliseconds
Aug 14 12:11:20 ciphermail tomcat10[13321]: Starting service [Catalina]
Aug 14 12:11:20 ciphermail tomcat10[13321]: Starting Servlet engine: [Apache Tomcat/10.1.16 (Ubuntu)]
Aug 14 12:11:20 ciphermail tomcat10[13321]: Deploying deployment descriptor [/etc/tomcat10/Catalina/localhost/web.xml]
Aug 14 12:11:21 ciphermail tomcat10[13321]: Deployment of deployment descriptor [/etc/tomcat10/Catalina/localhost/web.xml] with an external docBase means the directory [/var/lib/tomcat10/webapps/web] in the appBase will be ignored
Aug 14 12:11:32 ciphermail tomcat10[13321]: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 14 12:11:34 ciphermail tomcat10[13321]: One or more Filters failed to start. Full details will be found in the appropriate container log file
Aug 14 12:11:34 ciphermail tomcat10[13321]: Context [/web] startup failed due to previous errors
Aug 14 12:11:34 ciphermail tomcat10[13321]: Deployment of deployment descriptor [/etc/tomcat10/Catalina/localhost/web.xml] has finished in [13,457] ms
Aug 14 12:11:34 ciphermail tomcat10[13321]: Deploying deployment descriptor [/etc/tomcat10/Catalina/localhost/ciphermail.xml]
Aug 14 12:11:34 ciphermail tomcat10[13321]: Deployment of deployment descriptor [/etc/tomcat10/Catalina/localhost/ciphermail.xml] with an external docBase means the directory [/var/lib/tomcat10/webapps/ciphermail] in the appBase will be ignored
Aug 14 12:11:43 ciphermail tomcat10[13321]: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 14 12:11:43 ciphermail tomcat10[13321]: One or more Filters failed to start. Full details will be found in the appropriate container log file
Aug 14 12:11:43 ciphermail tomcat10[13321]: Context [/ciphermail] startup failed due to previous errors
Aug 14 12:11:43 ciphermail tomcat10[13321]: Deployment of deployment descriptor [/etc/tomcat10/Catalina/localhost/ciphermail.xml] has finished in [9,300] ms
Aug 14 12:11:43 ciphermail tomcat10[13321]: Deploying web application directory [/var/lib/tomcat10/webapps/ROOT]
Aug 14 12:11:45 ciphermail tomcat10[13321]: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 14 12:11:45 ciphermail tomcat10[13321]: Deployment of web application directory [/var/lib/tomcat10/webapps/ROOT] has finished in [1,473] ms
Aug 14 12:11:45 ciphermail tomcat10[13321]: Server startup in [24298] milliseconds
Aug 14 12:25:23 ciphermail systemd[1]: Stopping tomcat10.service - Apache Tomcat 10 Web Application Server…
Aug 14 12:25:23 ciphermail tomcat10[13321]: Pausing ProtocolHandler [“https-jsse-nio-8443”]
Aug 14 12:25:23 ciphermail tomcat10[13321]: Stopping service [Catalina]
Aug 14 12:25:23 ciphermail tomcat10[13321]: Stopping ProtocolHandler [“https-jsse-nio-8443”]
Aug 14 12:25:23 ciphermail tomcat10[13321]: Destroying ProtocolHandler [“https-jsse-nio-8443”]
Aug 14 12:25:23 ciphermail systemd[1]: tomcat10.service: Deactivated successfully.
Aug 14 12:25:23 ciphermail systemd[1]: Stopped tomcat10.service - Apache Tomcat 10 Web Application Server.
Aug 14 12:25:23 ciphermail systemd[1]: tomcat10.service: Consumed 24.771s CPU time, 195.9M memory peak, 0B memory swap peak.
Aug 14 12:25:23 ciphermail systemd[1]: Starting tomcat10.service - Apache Tomcat 10 Web Application Server…
Aug 14 12:25:23 ciphermail systemd[1]: Started tomcat10.service - Apache Tomcat 10 Web Application Server.
Aug 14 12:25:24 ciphermail tomcat10[13753]: No rules found matching [Server/Service/Connector/SSLHostConfig/UpgradeProtocol]
Aug 14 12:25:25 ciphermail tomcat10[13753]: Initializing ProtocolHandler [“https-jsse-nio-8443”]
Aug 14 12:25:25 ciphermail tomcat10[13753]: Connector [https-jsse-nio-8443], TLS virtual host [default], certificate type [RSA] configured from keystore [/usr/share/djigzo-web/ssl/sslCertificate.p12] using alias [tomcat] with trust store [null]
Aug 14 12:25:25 ciphermail tomcat10[13753]: Server initialization in [1427] milliseconds
Aug 14 12:25:25 ciphermail tomcat10[13753]: Starting service [Catalina]
Aug 14 12:25:25 ciphermail tomcat10[13753]: Starting Servlet engine: [Apache Tomcat/10.1.16 (Ubuntu)]
Aug 14 12:25:25 ciphermail tomcat10[13753]: Deploying deployment descriptor [/etc/tomcat10/Catalina/localhost/web.xml]
Aug 14 12:25:25 ciphermail tomcat10[13753]: Deployment of deployment descriptor [/etc/tomcat10/Catalina/localhost/web.xml] with an external docBase means the directory [/var/lib/tomcat10/webapps/web] in the appBase will be ignored
Aug 14 12:25:32 ciphermail tomcat10[13753]: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 14 12:25:32 ciphermail tomcat10[13753]: One or more Filters failed to start. Full details will be found in the appropriate container log file
Aug 14 12:25:32 ciphermail tomcat10[13753]: Context [/web] startup failed due to previous errors
Aug 14 12:25:32 ciphermail tomcat10[13753]: Deployment of deployment descriptor [/etc/tomcat10/Catalina/localhost/web.xml] has finished in [7,361] ms
Aug 14 12:25:32 ciphermail tomcat10[13753]: Deploying deployment descriptor [/etc/tomcat10/Catalina/localhost/ciphermail.xml]
Aug 14 12:25:32 ciphermail tomcat10[13753]: Deployment of deployment descriptor [/etc/tomcat10/Catalina/localhost/ciphermail.xml] with an external docBase means the directory [/var/lib/tomcat10/webapps/ciphermail] in the appBase will be ignored
Aug 14 12:25:36 ciphermail tomcat10[13753]: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 14 12:25:37 ciphermail tomcat10[13753]: One or more Filters failed to start. Full details will be found in the appropriate container log file
Aug 14 12:25:37 ciphermail tomcat10[13753]: Context [/ciphermail] startup failed due to previous errors
Aug 14 12:25:37 ciphermail tomcat10[13753]: Deployment of deployment descriptor [/etc/tomcat10/Catalina/localhost/ciphermail.xml] has finished in [4,227] ms
Aug 14 12:25:37 ciphermail tomcat10[13753]: Deploying web application directory [/var/lib/tomcat10/webapps/ROOT]
Aug 14 12:25:37 ciphermail tomcat10[13753]: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 14 12:25:37 ciphermail tomcat10[13753]: Deployment of web application directory [/var/lib/tomcat10/webapps/ROOT] has finished in [642] ms
Aug 14 12:25:37 ciphermail tomcat10[13753]: Starting ProtocolHandler [“https-jsse-nio-8443”]
Aug 14 12:25:37 ciphermail tomcat10[13753]: Server startup in [12290] milliseconds
Aug 14 12:29:32 ciphermail systemd[1]: Stopping tomcat10.service - Apache Tomcat 10 Web Application Server…
Aug 14 12:29:32 ciphermail tomcat10[13753]: Pausing ProtocolHandler [“https-jsse-nio-8443”]
Aug 14 12:29:32 ciphermail tomcat10[13753]: Stopping service [Catalina]
Aug 14 12:29:32 ciphermail tomcat10[13753]: Stopping ProtocolHandler [“https-jsse-nio-8443”]
Aug 14 12:29:32 ciphermail tomcat10[13753]: Destroying ProtocolHandler [“https-jsse-nio-8443”]
Aug 14 12:29:32 ciphermail systemd[1]: tomcat10.service: Deactivated successfully.
Aug 14 12:29:32 ciphermail systemd[1]: Stopped tomcat10.service - Apache Tomcat 10 Web Application Server.
Aug 14 12:29:32 ciphermail systemd[1]: tomcat10.service: Consumed 24.646s CPU time.
Aug 14 12:29:32 ciphermail systemd[1]: Starting tomcat10.service - Apache Tomcat 10 Web Application Server…
Aug 14 12:29:32 ciphermail systemd[1]: Started tomcat10.service - Apache Tomcat 10 Web Application Server.
Aug 14 12:29:32 ciphermail tomcat10[14035]: No rules found matching [Server/Service/Connector/SSLHostConfig/UpgradeProtocol]
Aug 14 12:29:33 ciphermail tomcat10[14035]: Initializing ProtocolHandler [“https-jsse-nio-8443”]
Aug 14 12:29:33 ciphermail tomcat10[14035]: Connector [https-jsse-nio-8443], TLS virtual host [default], certificate type [RSA] configured from keystore [/usr/share/djigzo-web/ssl/sslCertificate.p12] using alias [tomcat] with trust store [null]
Aug 14 12:29:33 ciphermail tomcat10[14035]: Server initialization in [1334] milliseconds
Aug 14 12:29:33 ciphermail tomcat10[14035]: Starting service [Catalina]
Aug 14 12:29:33 ciphermail tomcat10[14035]: Starting Servlet engine: [Apache Tomcat/10.1.16 (Ubuntu)]
Aug 14 12:29:33 ciphermail tomcat10[14035]: Deploying deployment descriptor [/etc/tomcat10/Catalina/localhost/web.xml]
Aug 14 12:29:33 ciphermail tomcat10[14035]: Deployment of deployment descriptor [/etc/tomcat10/Catalina/localhost/web.xml] with an external docBase means the directory [/var/lib/tomcat10/webapps/web] in the appBase will be ignored
Aug 14 12:29:39 ciphermail tomcat10[14035]: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 14 12:29:40 ciphermail tomcat10[14035]: One or more Filters failed to start. Full details will be found in the appropriate container log file
Aug 14 12:29:40 ciphermail tomcat10[14035]: Context [/web] startup failed due to previous errors
Aug 14 12:29:40 ciphermail tomcat10[14035]: Deployment of deployment descriptor [/etc/tomcat10/Catalina/localhost/web.xml] has finished in [6,638] ms
Aug 14 12:29:40 ciphermail tomcat10[14035]: Deploying deployment descriptor [/etc/tomcat10/Catalina/localhost/ciphermail.xml]
Aug 14 12:29:40 ciphermail tomcat10[14035]: Deployment of deployment descriptor [/etc/tomcat10/Catalina/localhost/ciphermail.xml] with an external docBase means the directory [/var/lib/tomcat10/webapps/ciphermail] in the appBase will be ignored
Aug 14 12:29:45 ciphermail tomcat10[14035]: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 14 12:29:45 ciphermail tomcat10[14035]: One or more Filters failed to start. Full details will be found in the appropriate container log file
Aug 14 12:29:45 ciphermail tomcat10[14035]: Context [/ciphermail] startup failed due to previous errors
Aug 14 12:29:45 ciphermail tomcat10[14035]: Deployment of deployment descriptor [/etc/tomcat10/Catalina/localhost/ciphermail.xml] has finished in [5,020] ms
Aug 14 12:29:45 ciphermail tomcat10[14035]: Deploying web application directory [/var/lib/tomcat10/webapps/ROOT]
Aug 14 12:29:46 ciphermail tomcat10[14035]: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 14 12:29:46 ciphermail tomcat10[14035]: Deployment of web application directory [/var/lib/tomcat10/webapps/ROOT] has finished in [612] ms
Aug 14 12:29:46 ciphermail tomcat10[14035]: Starting ProtocolHandler [“https-jsse-nio-8443”]
Aug 14 12:29:46 ciphermail tomcat10[14035]: Server startup in [12340] milliseconds
Aug 14 12:32:36 ciphermail tomcat10[14035]: Undeploying context [/ciphermail]
Aug 14 12:32:36 ciphermail tomcat10[14035]: Deploying deployment descriptor [/etc/tomcat10/Catalina/localhost/ciphermail.xml]
Aug 14 12:32:41 ciphermail tomcat10[14035]: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 14 12:32:41 ciphermail tomcat10[14035]: One or more Filters failed to start. Full details will be found in the appropriate container log file
Aug 14 12:32:41 ciphermail tomcat10[14035]: Context [/ciphermail] startup failed due to previous errors
Aug 14 12:32:41 ciphermail tomcat10[14035]: Deployment of deployment descriptor [/etc/tomcat10/Catalina/localhost/ciphermail.xml] has finished in [4,741] ms
Aug 14 13:16:27 ciphermail systemd[1]: Stopping tomcat10.service - Apache Tomcat 10 Web Application Server…
Aug 14 13:16:27 ciphermail tomcat10[14035]: Pausing ProtocolHandler [“https-jsse-nio-8443”]
Aug 14 13:16:27 ciphermail tomcat10[14035]: Stopping service [Catalina]
Aug 14 13:16:27 ciphermail tomcat10[14035]: Stopping ProtocolHandler [“https-jsse-nio-8443”]
Aug 14 13:16:27 ciphermail tomcat10[14035]: Destroying ProtocolHandler [“https-jsse-nio-8443”]
Aug 14 13:16:27 ciphermail systemd[1]: tomcat10.service: Deactivated successfully.
Aug 14 13:16:27 ciphermail systemd[1]: Stopped tomcat10.service - Apache Tomcat 10 Web Application Server.
Aug 14 13:16:27 ciphermail systemd[1]: tomcat10.service: Consumed 36.493s CPU time, 310.9M memory peak, 0B memory swap peak.
Aug 14 13:16:27 ciphermail systemd[1]: Starting tomcat10.service - Apache Tomcat 10 Web Application Server…
Aug 14 13:16:27 ciphermail systemd[1]: Started tomcat10.service - Apache Tomcat 10 Web Application Server.
Aug 14 13:16:28 ciphermail tomcat10[14767]: No rules found matching [Server/Service/Connector/SSLHostConfig/UpgradeProtocol]
Aug 14 13:16:29 ciphermail tomcat10[14767]: Initializing ProtocolHandler [“https-jsse-nio-8443”]
Aug 14 13:16:29 ciphermail tomcat10[14767]: Connector [https-jsse-nio-8443], TLS virtual host [default], certificate type [RSA] configured from keystore [/usr/share/djigzo-web/ssl/sslCertificate.p12] using alias [tomcat] with trust store [null]
Aug 14 13:16:30 ciphermail tomcat10[14767]: Server initialization in [1530] milliseconds
Aug 14 13:16:30 ciphermail tomcat10[14767]: Starting service [Catalina]
Aug 14 13:16:30 ciphermail tomcat10[14767]: Starting Servlet engine: [Apache Tomcat/10.1.16 (Ubuntu)]
Aug 14 13:16:30 ciphermail tomcat10[14767]: Deploying deployment descriptor [/etc/tomcat10/Catalina/localhost/web.xml]
Aug 14 13:16:30 ciphermail tomcat10[14767]: Deployment of deployment descriptor [/etc/tomcat10/Catalina/localhost/web.xml] with an external docBase means the directory [/var/lib/tomcat10/webapps/web] in the appBase will be ignored
Aug 14 13:16:37 ciphermail tomcat10[14767]: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 14 13:16:38 ciphermail tomcat10[14767]: One or more Filters failed to start. Full details will be found in the appropriate container log file
Aug 14 13:16:38 ciphermail tomcat10[14767]: Context [/web] startup failed due to previous errors
Aug 14 13:16:38 ciphermail tomcat10[14767]: Deployment of deployment descriptor [/etc/tomcat10/Catalina/localhost/web.xml] has finished in [8,120] ms
Aug 14 13:16:38 ciphermail tomcat10[14767]: Deploying deployment descriptor [/etc/tomcat10/Catalina/localhost/ciphermail.xml]
Aug 14 13:16:38 ciphermail tomcat10[14767]: Deployment of deployment descriptor [/etc/tomcat10/Catalina/localhost/ciphermail.xml] with an external docBase means the directory [/var/lib/tomcat10/webapps/ciphermail] in the appBase will be ignored
Aug 14 13:16:42 ciphermail tomcat10[14767]: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 14 13:16:43 ciphermail tomcat10[14767]: One or more Filters failed to start. Full details will be found in the appropriate container log file
Aug 14 13:16:43 ciphermail tomcat10[14767]: Context [/ciphermail] startup failed due to previous errors
Aug 14 13:16:43 ciphermail tomcat10[14767]: Deployment of deployment descriptor [/etc/tomcat10/Catalina/localhost/ciphermail.xml] has finished in [5,167] ms
Aug 14 13:16:43 ciphermail tomcat10[14767]: Deploying web application directory [/var/lib/tomcat10/webapps/ROOT]
Aug 14 13:16:44 ciphermail tomcat10[14767]: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 14 13:16:44 ciphermail tomcat10[14767]: Deployment of web application directory [/var/lib/tomcat10/webapps/ROOT] has finished in [685] ms
Aug 14 13:16:44 ciphermail tomcat10[14767]: Starting ProtocolHandler [“https-jsse-nio-8443”]
Aug 14 13:16:44 ciphermail tomcat10[14767]: Server startup in [14144] milliseconds

What happens if you remove the default hostname:

 hostName="_default_"

According to the docs, the default is default is no hostname is set

I’m afraid it cannot be empty and it is a default configuration for SSL in Tomcat10

I have a Tomcat10 running on Debian12 with the following setup:

<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
               maxThreads="150" SSLEnabled="true"  xpoweredBy="false" server="Apache TomEE" >
        <SSLHostConfig>
		<Certificate certificateKeyFile="/etc/tomcat10/ciphermail.key"
			certificateFile="/etc/tomcat10/ciphermail.crt"
                         type="RSA" />
        </SSLHostConfig>
    </Connector>

You should be able to convert sslCertificate.p12 with

openssl pkcs12 -in sslCertificate.p12 -out file.pem -nodes

file.pem contains the key and the certificate.