mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 04:58:50 +00:00
0c7caabea1
This commit adds a new `certutil` command and deprecates the `certgen` command. The new certuil consists of sub commands that are (by default) are simpler to use than the old monolithic command, but still support all the previous behaviours. Original commit: elastic/x-pack-elasticsearch@3f57687da9
19 lines
509 B
Bash
19 lines
509 B
Bash
#!/bin/bash
|
|
|
|
# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
# or more contributor license agreements. Licensed under the Elastic License;
|
|
# you may not use this file except in compliance with the Elastic License.
|
|
|
|
source "`dirname "$0"`"/../elasticsearch-env
|
|
|
|
source "`dirname "$0"`"/x-pack-env
|
|
|
|
exec \
|
|
"$JAVA" \
|
|
$ES_JAVA_OPTS \
|
|
-Des.path.home="$ES_HOME" \
|
|
-Des.path.conf="$ES_PATH_CONF" \
|
|
-cp "$ES_CLASSPATH" \
|
|
org.elasticsearch.xpack.ssl.CertificateTool \
|
|
"$@"
|