mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-15 01:53:41 +08:00
Add a tunable way to support SSL connections to data nodes with optional certificate based authentication. Switch test suite to use pre-generated certificates.
17 lines
396 B
Bash
Executable File
17 lines
396 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Generate CA and DN certificates
|
|
./generate_ca_cert.sh
|
|
./generate_data_node_cert.sh
|
|
|
|
# Generate clustering users certificates
|
|
./generate_client_cert.sh cluster_super_user
|
|
./generate_client_cert.sh test_role_1
|
|
|
|
# Make invalid certificate for test_role_2
|
|
cp test_role_1.crt test_role_2.crt
|
|
cp test_role_1.key test_role_2.key
|
|
|
|
# Create root certificate chain
|
|
cat ts_ca.crt > ts_root.crt
|