I had a similar problem like this (Unable to create an enrollment token for Kibana. "Elasticsearch node HTTP layer SSL configuration Keystore doesn't contain any PrivateKey entries where the associated certificate is a CA certificate")
A reply I got there was:
So I guess you made the same mistake as me, by installing ES without the later used interface being already present.