|
24 | 24 | from re import compile as regex
|
25 | 25 | import gc
|
26 | 26 | import six
|
27 |
| -from irods.test.setupssl import create_ssl_dir |
28 | 27 |
|
29 | 28 | #
|
30 | 29 | # Allow override to specify the PAM password in effect for the test rodsuser.
|
@@ -512,12 +511,16 @@ def test_ssl_with_server_verify_set_to_none_281(self):
|
512 | 511 | with helpers.file_backed_up(env_file):
|
513 | 512 | with open(env_file) as env_file_handle:
|
514 | 513 | env = json.load( env_file_handle )
|
515 |
| - create_ssl_dir(ssl_dir='./some') |
516 | 514 | env.update({
|
517 |
| - #"irods_ssl_ca_certificate_file": "./some/irods.crt", # does not need to match server cert |
| 515 | + # "irods_client_server_negotiation": "request_server_negotiation", |
| 516 | + # "irods_client_server_policy": "CS_NEG_REQUIRE", |
| 517 | + # "irods_ssl_ca_certificate_file": "/path/to/some/file.crt", # does not need to exist |
518 | 518 | "irods_ssl_verify_server": "none",
|
| 519 | + # "irods_encryption_key_size": 32, |
| 520 | + # "irods_encryption_salt_size": 8, |
| 521 | + # "irods_encryption_num_hash_rounds": 16, |
| 522 | + # "irods_encryption_algorithm": "AES-256-CBC" |
519 | 523 | })
|
520 |
| - print('popping cert file path-->{}'.format(env.pop('irods_ssl_ca_certificate_file',None))) |
521 | 524 | with open(env_file,'w') as f:
|
522 | 525 | json.dump(env,f)
|
523 | 526 | with helpers.make_session() as session:
|
|
0 commit comments