Language tweaks
Signed-off-by: keithhc2 <keithhc2@users.noreply.github.com>
This commit is contained in:
parent
0ab79cbdb6
commit
8d1dfa5040
|
@ -27,7 +27,7 @@ You can now start your OpenSearch cluster. The OpenSearch 1.x high-level REST cl
|
||||||
This code example uses basic credentials that come with the default OpenSearch configuration. If you’re using the OpenSearch Java high-level REST client with your own OpenSearch cluster, be sure to change the code to use your own credentials.
|
This code example uses basic credentials that come with the default OpenSearch configuration. If you’re using the OpenSearch Java high-level REST client with your own OpenSearch cluster, be sure to change the code to use your own credentials.
|
||||||
{: .note}
|
{: .note}
|
||||||
|
|
||||||
Before you can securely connect to an OpenSearch cluster, you need to first add your root certificates to a truststore:
|
Before you can securely connect to an OpenSearch cluster, you must first add your root certificates to a truststore. If you don't already have a custom truststore, the following command creates a truststore and adds in a certificate.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
keytool -import <path-to-cert> -alias <alias-to-call-cert> -keystore <truststore-name>
|
keytool -import <path-to-cert> -alias <alias-to-call-cert> -keystore <truststore-name>
|
||||||
|
|
|
@ -46,7 +46,7 @@ You can now start your OpenSearch cluster.
|
||||||
This code example uses basic credentials that come with the default OpenSearch configuration. If you’re using the OpenSearch Java client with your own OpenSearch cluster, be sure to change the code to use your own credentials.
|
This code example uses basic credentials that come with the default OpenSearch configuration. If you’re using the OpenSearch Java client with your own OpenSearch cluster, be sure to change the code to use your own credentials.
|
||||||
{: .note}
|
{: .note}
|
||||||
|
|
||||||
Before you can securely connect to an OpenSearch cluster, you need to first add your root certificates to a truststore:
|
Before you can securely connect to an OpenSearch cluster, you must first add your root certificates to a truststore. If you don't already have a custom truststore, the following command creates a truststore and adds in a certificate.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
keytool -import <path-to-cert> -alias <alias-to-call-cert> -keystore <truststore-name>
|
keytool -import <path-to-cert> -alias <alias-to-call-cert> -keystore <truststore-name>
|
||||||
|
|
Loading…
Reference in New Issue