File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44``` bash
55stackablectl op in commons listener secret trino
6- kind load docker-image oci.stackable.tech/sdp/trino:476-stackable0.0.0-dev-with-merger
6+ # kind load docker-image oci.stackable.tech/sdp/trino:476-stackable0.0.0-dev-with-merger
77kubectl apply -f _WORK/trino.yaml
88```
99
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ metadata:
55spec :
66 image :
77 productVersion : " 476"
8- custom : oci.stackable.tech/sdp/trino:476-stackable0.0.0-dev-with-merger
9- pullPolicy : Never
8+ # custom: oci.stackable.tech/sdp/trino:476-stackable0.0.0-dev-with-merger
9+ # pullPolicy: Never
1010 clusterConfig :
1111 tls :
1212 serverSecretClass : short-tls
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ pub fn container_prepare_args(
4444
4545 // Create truststore that will be used when talking to external tools like S3
4646 // It will be populated from the system truststore so that connections against public services like AWS S3 are still possible
47- args. push ( format ! ( "truststore-merger --pem /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem --out {STACKABLE_CLIENT_TLS_DIR}/truststore.p12 --out-password {STACKABLE_TLS_STORE_PASSWORD}" ) ) ;
47+ args. push ( format ! ( "cert-tools generate-pkcs12-truststore --pem /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem --out {STACKABLE_CLIENT_TLS_DIR}/truststore.p12 --out-password {STACKABLE_TLS_STORE_PASSWORD}" ) ) ;
4848
4949 if trino. tls_enabled ( ) {
5050 args. push ( format ! ( "cp {STACKABLE_MOUNT_SERVER_TLS_DIR}/truststore.p12 {STACKABLE_SERVER_TLS_DIR}/truststore.p12" ) ) ;
@@ -55,7 +55,7 @@ pub fn container_prepare_args(
5555 args. push ( format ! ( "cp {STACKABLE_MOUNT_INTERNAL_TLS_DIR}/truststore.p12 {STACKABLE_INTERNAL_TLS_DIR}/truststore.p12" ) ) ;
5656 args. push ( format ! ( "cp {STACKABLE_MOUNT_INTERNAL_TLS_DIR}/keystore.p12 {STACKABLE_INTERNAL_TLS_DIR}/keystore.p12" ) ) ;
5757 if trino. tls_enabled ( ) {
58- args. push ( format ! ( "truststore-merger --pkcs12 {STACKABLE_MOUNT_SERVER_TLS_DIR}/truststore.p12:{STACKABLE_TLS_STORE_PASSWORD} --pkcs12 {STACKABLE_INTERNAL_TLS_DIR}/truststore.p12:{STACKABLE_TLS_STORE_PASSWORD} --out {STACKABLE_INTERNAL_TLS_DIR}/truststore.p12 --out-password {STACKABLE_TLS_STORE_PASSWORD}" ) ) ;
58+ args. push ( format ! ( "cert-tools generate-pkcs12-truststore --pkcs12 {STACKABLE_MOUNT_SERVER_TLS_DIR}/truststore.p12:{STACKABLE_TLS_STORE_PASSWORD} --pkcs12 {STACKABLE_INTERNAL_TLS_DIR}/truststore.p12:{STACKABLE_TLS_STORE_PASSWORD} --out {STACKABLE_INTERNAL_TLS_DIR}/truststore.p12 --out-password {STACKABLE_TLS_STORE_PASSWORD}" ) ) ;
5959 }
6060 }
6161
@@ -137,6 +137,6 @@ wait_for_termination $!
137137pub fn add_cert_to_truststore ( cert_file : & str , destination_directory : & str ) -> Vec < String > {
138138 let truststore = format ! ( "{destination_directory}/truststore.p12" ) ;
139139 vec ! [ format!(
140- "truststore-merger --pkcs12 {truststore}:{STACKABLE_TLS_STORE_PASSWORD} --pem {cert_file} --out {truststore} --out-password {STACKABLE_TLS_STORE_PASSWORD}"
140+ "cert-tools generate-pkcs12-truststore --pkcs12 {truststore}:{STACKABLE_TLS_STORE_PASSWORD} --pem {cert_file} --out {truststore} --out-password {STACKABLE_TLS_STORE_PASSWORD}"
141141 ) ]
142142}
You can’t perform that action at this time.
0 commit comments