Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Warnings about quarkus.http.ssl.certificate.file and quarkus.http.ssl.certificate.key-file on startup #21801

@ahus1

Description

@ahus1

Before reporting an issue

Area

dist/quarkus

Describe the bug

When starting Quarkus with a TLS certificate, there are two warnings logged at the console:

The 'quarkus.http.ssl.certificate.key-file' config property is deprecated and should not be used anymore
The 'quarkus.http.ssl.certificate.file' config property is deprecated and should not be used anymore

Looking at the issue that change this, this is was part of Quarkus 2, so it is quite old.

Version

main

Expected behavior

There should be no warning during startup. Possibly Keycloak should handle multiple server names as Quarkus does, see quarkusio/quarkus#17036

Actual behavior

There are warnings at the start up that confuse/distract/unsettle the user. A user can specify only one server certificate.

How to Reproduce?

Start Keycloak with a TLS certificate

Anything else?

There could be multiple steps here, which could be split:

  1. Get rid of the warning by using the new property
  2. Support multiple TLS certificates (which might require code and documentation updates)

At least the first part (getting rid of the warning) might be something to backport to KC22

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions