mirror of
https://github.com/apache/druid.git
synced 2025-02-10 12:05:00 +00:00
* Mutual TLS support * Kafka test fixes * TeamCity fix * Split integration tests * Use localhost DOCKER_IP * Increase server thread count * Increase SSL handshake timeouts * Add broken pipe retries, use injected client config params * PR comments, Rat license check exclusion
14 lines
496 B
Bash
Executable File
14 lines
496 B
Bash
Executable File
#!/bin/bash -eu
|
|
|
|
rm -f root.key
|
|
rm -f untrusted_root.key
|
|
rm -f root.pem
|
|
rm -f untrusted_root.pem
|
|
|
|
openssl genrsa -out docker/tls/root.key 4096
|
|
openssl genrsa -out docker/tls/untrusted_root.key 4096
|
|
|
|
openssl req -config docker/tls/root.cnf -key docker/tls/root.key -new -x509 -days 3650 -sha256 -extensions v3_ca -out docker/tls/root.pem
|
|
openssl req -config docker/tls/root.cnf -key docker/tls/untrusted_root.key -new -x509 -days 3650 -sha256 -extensions v3_ca -out docker/tls/untrusted_root.pem
|
|
|