[ 
https://issues.apache.org/jira/browse/IGNITE-13895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergei Ryzhov updated IGNITE-13895:
-----------------------------------
    Description: 
SSL usage in ducktape tests

Necessary:
 - server, client and admin must connect with different certificates.
 - be able to enable ssl for all tests via globals.
 - be able to set the ssl parameters for tests via globals.

certificates are generated at startup ./run-test.sh

{code}
Root
 - CA
   - Server
   - Client
   - Admin
{code}


for run all tests with ssl you may use globals:
{code}
./docker/run_tests.sh -t ./ignitetest/tests/self_test.py -gj 
'{"use_ssl":"True", "ignite_versions":"2.9.0"}'
./docker/run_tests.sh -t ./ignitetest/tests/self_test.py -gj 
'{"use_ssl":"True","server": {"key_store_jks": "admin.jks"}, "client": 
{"key_store_jks": "admin.jks"}, "admin": {"key_store_jks": "client.jks"}, 
"ignite_versions":"2.9.0"}'
./docker/run_tests.sh -t ./ignitetest/tests/ssl_test.py -gj 
'{"use_ssl":"True","server": {"key_store_path": 
"/opt/ignite-dev/modules/ducktests/tests/other_dir/admin.jks", 
"trust_store_jks": 
"/opt/ignite-dev/modules/ducktests/tests/other_dir/truststore.jks"}, "client": 
{"key_store_path": 
"/opt/ignite-dev/modules/ducktests/tests/other_dir/admin.jks", 
"trust_store_jks": 
"/opt/ignite-dev/modules/ducktests/tests/other_dir/truststore.jks"}, "admin": 
{"key_store_path": 
"/opt/ignite-dev/modules/ducktests/tests/other_dir/client.jks", 
"trust_store_jks": 
"/opt/ignite-dev/modules/ducktests/tests/other_dir/truststore.jks"}}'
{code}




  was:
SSL usage in ducktape tests

Necessary:
 - server, client and admin must connect with different certificates.
 - be able to enable ssl for all tests via globals.
 - be able to set the ssl parameters for tests via globals.

certificates are generated at startup ./run-test.sh

{code}
Root
 - CA
   - Server
   - Client
   - Admin
{code}


for run all tests with ssl you may use globals:
{code}
./docker/run_tests.sh -t ./ignitetest/tests/self_test.py -gj 
'{"use_ssl":"True", "ignite_versions":"2.9.0"}'
./docker/run_tests.sh -t ./ignitetest/tests/self_test.py -gj 
'{"use_ssl":"True","server": {"key_store_jks": "admin.jks"}, "client": 
{"key_store_jks": "admin.jks"}, "admin": {"key_store_jks": "client.jks"}, 
"ignite_versions":"2.9.0"}'
 ./docker/run_tests.sh -t ./ignitetest/tests/ssl_test.py -gj 
'{"use_ssl":"True","server": {"key_store_path": 
"/opt/ignite-dev/modules/ducktests/tests/other_dir/admin.jks", 
"trust_store_jks": 
"/opt/ignite-dev/modules/ducktests/tests/other_dir/truststore.jks"}, "client": 
{"key_store_path": 
"/opt/ignite-dev/modules/ducktests/tests/other_dir/admin.jks", 
"trust_store_jks": 
"/opt/ignite-dev/modules/ducktests/tests/other_dir/truststore.jks"}, "admin": 
{"key_store_path": 
"/opt/ignite-dev/modules/ducktests/tests/other_dir/client.jks", 
"trust_store_jks": 
"/opt/ignite-dev/modules/ducktests/tests/other_dir/truststore.jks"}}'
{code}





> SSL usage in ducktape tests
> ---------------------------
>
>                 Key: IGNITE-13895
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13895
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Sergei Ryzhov
>            Assignee: Sergei Ryzhov
>            Priority: Minor
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> SSL usage in ducktape tests
> Necessary:
>  - server, client and admin must connect with different certificates.
>  - be able to enable ssl for all tests via globals.
>  - be able to set the ssl parameters for tests via globals.
> certificates are generated at startup ./run-test.sh
> {code}
> Root
>  - CA
>    - Server
>    - Client
>    - Admin
> {code}
> for run all tests with ssl you may use globals:
> {code}
> ./docker/run_tests.sh -t ./ignitetest/tests/self_test.py -gj 
> '{"use_ssl":"True", "ignite_versions":"2.9.0"}'
> ./docker/run_tests.sh -t ./ignitetest/tests/self_test.py -gj 
> '{"use_ssl":"True","server": {"key_store_jks": "admin.jks"}, "client": 
> {"key_store_jks": "admin.jks"}, "admin": {"key_store_jks": "client.jks"}, 
> "ignite_versions":"2.9.0"}'
> ./docker/run_tests.sh -t ./ignitetest/tests/ssl_test.py -gj 
> '{"use_ssl":"True","server": {"key_store_path": 
> "/opt/ignite-dev/modules/ducktests/tests/other_dir/admin.jks", 
> "trust_store_jks": 
> "/opt/ignite-dev/modules/ducktests/tests/other_dir/truststore.jks"}, 
> "client": {"key_store_path": 
> "/opt/ignite-dev/modules/ducktests/tests/other_dir/admin.jks", 
> "trust_store_jks": 
> "/opt/ignite-dev/modules/ducktests/tests/other_dir/truststore.jks"}, "admin": 
> {"key_store_path": 
> "/opt/ignite-dev/modules/ducktests/tests/other_dir/client.jks", 
> "trust_store_jks": 
> "/opt/ignite-dev/modules/ducktests/tests/other_dir/truststore.jks"}}'
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to