Please read the latest docs on the Keycloak website.
There has been a lot of changes to Keycloak coming with v17. The whole base has changed from Wildfly to Quarkus, configuration changed completely. If you are in need, there‘s also (still, but not that long) a legacy version available.