You need to modify the "-Dconnection.url" string in the QIE startup arguments to include the required options. For example:
-Dconnection.url=jdbc.mariadb://server:3306/qie?useSSL=true&trustServerCertificate=true&requireSSL=true&verifyServerCertificate=false