try {Driver driver = (Driver)classLoader.loadClass("com.microsoft.sqlserver.jdbc.SQLServerDriver").newInstance();String connectionUrl = "jdbc:sqlserver://<hostname>:1433;"+ "encrypt=true;trustServerCertificate=true;hostNameInCertificate=*.database.wi...