Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F57032938
security_initialize.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
security_initialize.sh
View Options
#!/bin/sh
# -------------------------------------------------------------
# OpenSearch security initializer
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# Source file: roles/opensearch/opensearch/files/security_initialize.sh
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
set
-e
OPENSEARCH_HOSTNAME
=
$1
ROOT
=
/opt/opensearch
# Wait a little bit to let OpenSearch start
sleep
5
bash
$ROOT
/plugins/opensearch-security/tools/securityadmin.sh
\
-cacert
$ROOT
/config/root-ca.pem
\
-cert
$ROOT
/config/admin.pem
\
-key
$ROOT
/config/admin.key
\
-f
$ROOT
/plugins/opensearch-security/securityconfig/internal_users.yml
\
-nhnv
-icl
\
-h
"
$OPENSEARCH_HOSTNAME
"
touch
$ROOT
/plugins/opensearch-security/securityconfig/.initialized
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sun, Nov 15, 08:01 (1 w, 12 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4168612
Default Alt Text
security_initialize.sh (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment