Repository: quarkusio/quarkus
Issue: Quarkus REST Client extension is not enabling SSL native by default as documented

**Describe the bug**
In the guide https://quarkus.io/guides/native-and-ssl there is a mention that quarkus-rest-client extension should automatically enable SSL in native but SSL doesn't work without explicit property `quarkus.ssl.native=true`/

**Expected behavior**
SSL works by default as documented.

**Actual behavior**
SSL doesn't work without explicit property.


**To Reproduce**

https://github.com/xstefank/quarkus-rest-client-extension

**Configuration**
```properties
# Configuration file
# key = value

# uncomment to make SSL work in native
#quarkus.ssl.native=true
```

**Environment (please complete the following information):**
 - Output of `uname -a` or `ver`: Linux Set-FI 5.8.9-200.fc32.x86_64 #1 SMP Mon Sep 14 18:28:45 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
 - Output of `java -version`:
openjdk version "11.0.8" 2020-07-14
OpenJDK Runtime Environment GraalVM CE 20.2.0 (build 11.0.8+10-jvmci-20.2-b03)
OpenJDK 64-Bit Server VM GraalVM CE 20.2.0 (build 11.0.8+10-jvmci-20.2-b03, mixed mode, sharing) 
 - Quarkus version or git rev: 1.8.1.Final
 - Build tool (ie. output of `mvnw --version` or `gradlew --version`): 
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /home/mstefank/.m2/wrapper/dists/apache-maven-3.6.3-bin/1iopthnavndlasol9gbrbg6bf2/apache-maven-3.6.3
Java version: 1.8.0_265, vendor: AdoptOpenJDK, runtime: /opt/java/hotspot/jdk8u265-b01/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.8.9-200.fc32.x86_64", arch: "amd64", family: "unix"


**Additional context**
Maybe this can be related to the plain use of the RESTEasy JAX-RS client? However, I still think this should work.


Changed files:
extensions/rest-client/deployment/src/main/java/io/quarkus/restclient/deployment/RestClientProcessor.java

diff --git a/extensions/rest-client/deployment/src/main/java/io/quarkus/restclient/deployment/RestClientProcessor.java b/extensions/rest-client/deployment/src/main/java/io/quarkus/restclient/deployment/RestClientProcessor.java
index 17e3f4ff952..db86b354fa5 100644
--- a/extensions/rest-client/deployment/src/main/java/io/quarkus/restclient/deployment/RestClientProcessor.java
+++ b/extensions/rest-client/deployment/src/main/java/io/quarkus/restclient/deployment/RestClientProcessor.java
@@ -173,7 +173,6 @@ void processInterfaces(
             BuildProducer<ReflectiveClassBuildItem> reflectiveClass,
             BuildProducer<ReflectiveHierarchyBuildItem> reflectiveHierarchy,
             BuildProducer<BeanRegistrarBuildItem> beanRegistrars,
-            BuildProducer<ExtensionSslNativeSupportBuildItem> extensionSslNativeSupport,
             BuildProducer<ServiceProviderBuildItem> serviceProvider,
             BuildProducer<RestClientBuildItem> restClient) {
 
@@ -254,9 +253,11 @@ public void register(RegistrationContext registrationContext) {
                 }
             }
         }));
+    }
 
-        // Indicates that this extension would like the SSL support to be enabled
-        extensionSslNativeSupport.produce(new ExtensionSslNativeSupportBuildItem(Feature.REST_CLIENT));
+    @BuildStep
+    ExtensionSslNativeSupportBuildItem activateSslNativeSupport() {
+        return new ExtensionSslNativeSupportBuildItem(Feature.REST_CLIENT);
     }
 
     // currently default methods on a rest-client interface