Problem: Kibana failed to upload the license.
Solution: According to his instructions, either turn on TLS or turn off security verification.
Turn off security verification:
[root@es01 ~]# vim /etc/elasticsearch/elasticsearch.yml
xpack.security.enabled: false
[ root@es01 ~]# systemctl restart elasticsearch