Currently I use payara-micro-4.1.2.174
and microprofile-config-api.version 1.2.1
and injected follow:
but always get the http Port and not the https port.
"@Inject @ConfigProperty(name="payara.instance.https.port") int httpsPort;"
Why am I getting the http port and not the https port?