diff --git a/resources/jetty-port-update.xsl b/resources/jetty-port-update.xsl
index 76ca1f0ea7d06fb0be580b65b762a37b483767dc..2daa013ccfeef7c4b13806cde1ec6b41532ee36f 100644
--- a/resources/jetty-port-update.xsl
+++ b/resources/jetty-port-update.xsl
@@ -1,20 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   version="1.0">
-  <xsl:output method="xml" 
-    version="1.0" 
-    encoding="UTF-8" 
+  <xsl:output method="xml"
+    version="1.0"
+    encoding="UTF-8"
     indent="no"
     doctype-public="-//Jetty//Configure//EN"
     doctype-system="http://www.eclipse.org/jetty/configure_9_3.dtd"/>
   <xsl:param name="customPort"/>
-  
+
   <xsl:template match="@*|node()">
     <xsl:copy>
       <xsl:apply-templates select="@*|node()"/>
     </xsl:copy>
   </xsl:template>
-  
+
 <!--  <xsl:template match="SystemProperty[@name = 'jetty.port']">
       <xsl:copy>
         <xsl:apply-templates select="@*[not(. = 'default')]"/>
@@ -22,8 +22,13 @@
       </xsl:copy>
   </xsl:template>-->
 <!--  <xsl:template match="comment()"/>-->
-  
+
   <xsl:template match="@default[parent::*[@name = 'jetty.port']]">
     <xsl:attribute name="default"><xsl:value-of select="$customPort"/></xsl:attribute>
   </xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+
+  <xsl:template match="@default[parent::*[@name = 'jetty.ssl.port']]">
+    <xsl:attribute name="default"><xsl:value-of select="$customPort"/></xsl:attribute>
+  </xsl:template>
+
+</xsl:stylesheet>