epugh commented on code in PR #5107:
URL: https://github.com/apache/solr/pull/5107#discussion_r4444715802
##########
solr/packaging/test/test_ssl.bats:
##########
@@ -30,40 +30,54 @@ teardown() {
}
-@test "start solr with ssl" {
- # Create a keystore
+configure_ssl() {
+ run solr assert --started "http://localhost:${SOLR_PORT}" --timeout 30000
+ assert_success
+ run solr zk ls / --zk-host "localhost:${ZK_PORT}"
+ assert_output --partial 'live_nodes'
export ssl_dir="${BATS_TEST_TMPDIR}/ssl"
mkdir -p "$ssl_dir"
- (
- cd "$ssl_dir"
- rm -f solr-ssl.keystore.p12 solr-ssl.pem
- keytool -genkeypair -alias solr-ssl -keyalg RSA -keysize 2048 -keypass
secret -storepass secret -validity 9999 -keystore solr-ssl.keystore.p12
-storetype PKCS12 -ext SAN=DNS:localhost,IP:127.0.0.1 -dname "CN=localhost,
OU=Organizational Unit, O=Organization, L=Location, ST=State, C=Country"
Review Comment:
what is the relationship between keytool and openssl? Is one better? Why
did we delete this in vaour of openssl?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]