Оpendistro-security with ELK (basic license)

Dear All,
I’m trying to replace secure plugin by opendistro-security.
I am getting errors in kibana , after installation opendistroSecurityKibana and remove kibana/x-pack/plugins/secure .

{"statusCode":401,"error":"Unauthorized","message":"Response Error"}

How to fix login page?

My kibana.yml as:

server.port: 5601
server.host: "0.0.0.0"
elasticsearch.hosts: ["https://centos:9200"]
elasticsearch.ssl.verificationMode: none
elasticsearch.username: admin
elasticsearch.password: admin
opendistro_security.multitenancy.enabled: false
opendistro_security.readonly_mode.roles: ["kibana_read_only"]
opendistro_security.auth.type: "basicauth"
logging.dest: /var/log/kibana/kibana.log
logging.verbose: false

My elasticsearch.yml as:

cluster.name: es-opendistro
node.name: centos
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
discovery.type: single-node
network.host: 0.0.0.0
node.master: true
xpack.security.enabled: false
http.compression: true
opendistro_security.authcz.admin_dn:
  - "*****************"
opendistro_security.ssl.http.enabled: true
opendistro_security.ssl.http.pemkey_filepath: config/es-pkcs8.key
opendistro_security.ssl.http.pemcert_filepath: config/es.crt
opendistro_security.ssl.http.pemtrustedcas_filepath: config/rootCA.crt
opendistro_security.ssl.http.enabled_protocols:
  - "TLSv1.2"
  - "TLSv1.3"
opendistro_security.ssl.transport.enabled: true
opendistro_security.ssl.transport.pemkey_filepath: config/es-pkcs8.key
opendistro_security.ssl.transport.pemcert_filepath: config/es.crt
opendistro_security.ssl.transport.pemtrustedcas_filepath: config/rootCA.crt
opendistro_security.ssl.transport.enabled_protocols:
  - "TLSv1.2"
  - "TLSv1.3"

Did you manage to do it? Same problem

It’s work if disable in kibana.yaml
- name: XPACK_SPACES_ENABLED
value: ‘false’