I have a domain foobar. When I started my project, I knew I would have my webserver handling traffic for foobar.com
. Also, I plan on having an elasticsearch server I wanted running at es.foobar.com
. I purchased my domain at GoDaddy and I (maybe prematurely) purchased a single site certificate for foobar.com
. I can't change this certificate to a wildcard cert. I would have to purchase a new one. I have my DNS record routing traffic for that simple URL. I'm managing everything using Kubernetes.
Questions:
- Is it possible to use my simple single-site certificate for the main site and subdomains like my elasticsearch server or do I need to purchase another single-site certificate specifically for the elasticsearch server? I checked earlier and GoDaddy wants $350 for the multisite one.
- ElasticSearch complicates this somewhat since if it's being accessed at
es.foobar.com
and the cert is forfoobar.com
it's going to reject any requests, right? Elasticsearch needs a cert in order to have solid security.