After elastic upgrade, cant cretae enrollment token

Hi,
I run elastic and kibana with docker compose.
My docker-compose.yaml

services:
  es01:
    image: docker.elastic.co/elasticsearch/elasticsearch:8.14.1
    container_name: es01
    environment:
      - node.name=es-docker
      - cluster.name=es-single-node
      - discovery.type=single-node
      - ELASTIC_PASSWORD=changeme
        #- xpack.security.enabled=true
      - xpack.security.enrollment.enabled=true
        #- xpack.security.autoconfiguration.enabled=true
        #- path.data:/elastic/data
        #- path.logs:/var/log/elasticsearch
    volumes:
      - elastic-data:/usr/share/elasticsearch/data:rw
    ports:
      - 9200:9200
      - 9300:9300
    networks:
      - elastic
    restart: unless-stopped

  kib01:
    depends_on:
      - es01
    image: docker.elastic.co/kibana/kibana:8.14.1
    container_name: kib01
    environment:
      - XPACK_FLEET_REGISTRYPROXYURL="http://10.53.0.50:8080"
    ports:
      - 5601:5601
    networks:
      - elastic
    restart: unless-stopped
volumes:
  elastic-data:
    driver: local
networks:
  elastic

When I upgrade elastic from 8.14.0 to 8.14.1 then I need a token to access Kibana.

I run this code and get this error:

docker exec -it es01 /usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s kibana
WARNING: Owner of file [/usr/share/elasticsearch/config/users] used to be [root], but now is [elasticsearch]
WARNING: Owner of file [/usr/share/elasticsearch/config/users_roles] used to be [root], but now is [elasticsearch]
Unable to create enrollment token for scope [kibana]

ERROR: Unable to create an enrollment token. Elasticsearch node HTTP layer SSL configuration is not configured with a keystore, with exit code 73

This happends only after elastic upgrade and I use self signed cert that elastic creates. I have also persistant volume, as the code above shows.

Thanks,