Repository: quarkusio/quarkus
Issue: RestAssured not configured to use the correct port when `quarkus.http.test-ssl-port` is set

### Describe the bug

When a custom value for `quarkus.http.test-ssl-port` is set, RestAssured seems to not be configured to use it. Digging into the code, it appears that it's actually attempting to be set by resolving config property `quarkus.https.test-port`.

https://github.com/quarkusio/quarkus/blob/main/test-framework/common/src/main/java/io/quarkus/test/common/RestAssuredURLManager.java#L118-L120

There's also a couple of other references to it in the codebase:

https://github.com/quarkusio/quarkus/search?q=%22quarkus.https.test-port%22

### Expected behavior

The RestAssured port is configured to use the value of  `quarkus.http.test-ssl-port`.

### Actual behavior

`RestAssured.port` evaluates to `8444` and not the value of `quarkus.http.test-ssl-port`.

### How to Reproduce?

Create a unit test where `quarkus.http.test-ssl-port` is configured. Then use RestAssured to try and hit a server endpoint.

### Output of `uname -a` or `ver`

_No response_

### Output of `java -version`

_No response_

### GraalVM version (if different from Java)

_No response_

### Quarkus version or git rev

_No response_

### Build tool (ie. output of `mvnw --version` or `gradlew --version`)

_No response_

### Additional information

_No response_

Changed files:
test-framework/common/src/main/java/io/quarkus/test/common/RestAssuredURLManager.java
test-framework/junit5-internal/src/main/java/io/quarkus/test/QuarkusProdModeTest.java
extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/VertxHttpRecorder.java

diff --git a/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/VertxHttpRecorder.java b/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/VertxHttpRecorder.java
index 18f5922d014..46574597ede 100644
--- a/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/VertxHttpRecorder.java
+++ b/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/VertxHttpRecorder.java
@@ -1348,8 +1348,8 @@ public void stop(Promise<Void> stopFuture) {
 
                     }
                     if (clearHttpsProperty) {
-                        String portPropertyName = launchMode == LaunchMode.TEST ? "quarkus.https.test-port"
-                                : "quarkus.https.port";
+                        String portPropertyName = launchMode == LaunchMode.TEST ? "quarkus.http.test-ssl-port"
+                                : "quarkus.http.ssl-port";
                         System.clearProperty(portPropertyName);
                         if (launchMode.isDevOrTest()) {
                             System.clearProperty(propertyWithProfilePrefix(portPropertyName));
diff --git a/test-framework/common/src/main/java/io/quarkus/test/common/RestAssuredURLManager.java b/test-framework/common/src/main/java/io/quarkus/test/common/RestAssuredURLManager.java
index 977ebad843e..a6e4dac9d4f 100644
--- a/test-framework/common/src/main/java/io/quarkus/test/common/RestAssuredURLManager.java
+++ b/test-framework/common/src/main/java/io/quarkus/test/common/RestAssuredURLManager.java
@@ -115,7 +115,7 @@ public static void setURL(boolean useSecureConnection, Integer port, String addi
             try {
                 oldPort = (Integer) portField.get(null);
                 if (port == null) {
-                    port = useSecureConnection ? getPortFromConfig(DEFAULT_HTTPS_PORT, "quarkus.https.test-port")
+                    port = useSecureConnection ? getPortFromConfig(DEFAULT_HTTPS_PORT, "quarkus.http.test-ssl-port")
                             : getPortFromConfig(DEFAULT_HTTP_PORT, "quarkus.lambda.mock-event-server.test-port",
                                     "quarkus.http.test-port");
                 }
diff --git a/test-framework/junit5-internal/src/main/java/io/quarkus/test/QuarkusProdModeTest.java b/test-framework/junit5-internal/src/main/java/io/quarkus/test/QuarkusProdModeTest.java
index 23ff28ca549..2284f19120c 100644
--- a/test-framework/junit5-internal/src/main/java/io/quarkus/test/QuarkusProdModeTest.java
+++ b/test-framework/junit5-internal/src/main/java/io/quarkus/test/QuarkusProdModeTest.java
@@ -655,7 +655,7 @@ private void setupRestAssured() {
                 .map(Integer::parseInt)
                 .orElse(DEFAULT_HTTP_PORT_INT);
 
-        // If http port is 0, then we need to set the port to null in order to use the `quarkus.https.test-port` property
+        // If http port is 0, then we need to set the port to null in order to use the `quarkus.http.test-ssl-port` property
         // which is done in `RestAssuredURLManager.setURL`.
         if (httpPort == 0) {
             httpPort = null;