@@ -183,15 +183,15 @@ impl NodeConfig {
183183 ) ;
184184 config. insert (
185185 CONFIG_OPTION_PLUGINS_SECURITY_SSL_HTTP_PEMCERT_FILEPATH . to_owned ( ) ,
186- json ! ( "${OPENSEARCH_HOME}/config /tls/tls.crt" . to_string( ) ) ,
186+ json ! ( "${OPENSEARCH_PATH_CONF} /tls/tls.crt" . to_string( ) ) ,
187187 ) ;
188188 config. insert (
189189 CONFIG_OPTION_PLUGINS_SECURITY_SSL_HTTP_PEMKEY_FILEPATH . to_owned ( ) ,
190- json ! ( "${OPENSEARCH_HOME}/config /tls/tls.key" . to_string( ) ) ,
190+ json ! ( "${OPENSEARCH_PATH_CONF} /tls/tls.key" . to_string( ) ) ,
191191 ) ;
192192 config. insert (
193193 CONFIG_OPTION_PLUGINS_SECURITY_SSL_HTTP_PEMTRUSTEDCAS_FILEPATH . to_owned ( ) ,
194- json ! ( "${OPENSEARCH_HOME}/config /tls/ca.crt" . to_string( ) ) ,
194+ json ! ( "${OPENSEARCH_PATH_CONF} /tls/ca.crt" . to_string( ) ) ,
195195 ) ;
196196 // TLS config for TRANSPORT port
197197 config. insert (
@@ -200,15 +200,15 @@ impl NodeConfig {
200200 ) ;
201201 config. insert (
202202 CONFIG_OPTION_PLUGINS_SECURITY_SSL_TRANSPORT_PEMCERT_FILEPATH . to_owned ( ) ,
203- json ! ( "${OPENSEARCH_HOME}/config /tls/tls.crt" . to_string( ) ) ,
203+ json ! ( "${OPENSEARCH_PATH_CONF} /tls/tls.crt" . to_string( ) ) ,
204204 ) ;
205205 config. insert (
206206 CONFIG_OPTION_PLUGINS_SECURITY_SSL_TRANSPORT_PEMKEY_FILEPATH . to_owned ( ) ,
207- json ! ( "${OPENSEARCH_HOME}/config /tls/tls.key" . to_string( ) ) ,
207+ json ! ( "${OPENSEARCH_PATH_CONF} /tls/tls.key" . to_string( ) ) ,
208208 ) ;
209209 config. insert (
210210 CONFIG_OPTION_PLUGINS_SECURITY_SSL_TRANSPORT_PEMTRUSTEDCAS_FILEPATH . to_owned ( ) ,
211- json ! ( "${OPENSEARCH_HOME}/config /tls/ca.crt" . to_string( ) ) ,
211+ json ! ( "${OPENSEARCH_PATH_CONF} /tls/ca.crt" . to_string( ) ) ,
212212 ) ;
213213
214214 config
0 commit comments