|
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 |
27 | 28 |
|
28 | 29 | # |
29 | 30 | # Allow override to specify the PAM password in effect for the test rodsuser. |
@@ -511,16 +512,12 @@ def test_ssl_with_server_verify_set_to_none_281(self): |
511 | 512 | with helpers.file_backed_up(env_file): |
512 | 513 | with open(env_file) as env_file_handle: |
513 | 514 | env = json.load( env_file_handle ) |
| 515 | + create_ssl_dir(ssl_dir='./some') |
514 | 516 | env.update({ |
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 |
| 517 | + #"irods_ssl_ca_certificate_file": "./some/irods.crt", # does not need to match server cert |
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" |
523 | 519 | }) |
| 520 | + print('popping cert file path-->{}'.format(env.pop('irods_ssl_ca_certificate_file',None))) |
524 | 521 | with open(env_file,'w') as f: |
525 | 522 | json.dump(env,f) |
526 | 523 | with helpers.make_session() as session: |
|
0 commit comments