Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
Remove unneccessary -chain parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
russcam committed Jul 13, 2018
1 parent 13df135 commit 2949a33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/elasticsearch-ubuntu-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ configure_http_tls()

log "[configure_http_tls] converting PKCS#12 HTTP CA to PEM"
echo "$HTTP_CACERT_PASSWORD" | openssl pkcs12 -in $HTTP_CACERT_PATH -out $SSL_PATH/elasticsearch-http-ca.key -nocerts -nodes -passin stdin
echo "$HTTP_CACERT_PASSWORD" | openssl pkcs12 -in $HTTP_CACERT_PATH -out $SSL_PATH/elasticsearch-http-ca.crt -clcerts -nokeys -chain -passin stdin
echo "$HTTP_CACERT_PASSWORD" | openssl pkcs12 -in $HTTP_CACERT_PATH -out $SSL_PATH/elasticsearch-http-ca.crt -clcerts -nokeys -passin stdin

log "[configure_http_tls] generate HTTP cert using $CERTGEN"
$CERTGEN --in $SSL_PATH/elasticsearch-http.yml --out $SSL_PATH/elasticsearch-http.zip \
Expand Down

0 comments on commit 2949a33

Please sign in to comment.