elastic / elasticsearch-rs

Official Elasticsearch Rust Client
https://www.elastic.co/guide/en/elasticsearch/client/rust-api/current/index.html
Apache License 2.0
705 stars 72 forks source link

Rename CI certificates #125

Closed russcam closed 4 years ago

russcam commented 4 years ago

This commit renames the CI certificates used for test nodes:

With these changes, the CI certificate used for testing contains SAN entries for

X509v3 Subject Alternative Name:
  DNS:localhost, DNS:instance, IP Address:127.0.0.1, IP Address:0:0:0:0:0:0:0:1, DNS:es1

with a CN entry

Subject: CN = instance

A certificate with SAN entries is more useful as the default as it allows for testing both full verification (issued by known CA and hostname verification) and certificate verification (issued by known CA) for a client when using a cluster spun up from CI scripts.