Project

General

Profile

Task #6774

Story #6723: test v2 MN and CN buildouts

make test certificate subject labels (filenames) Windows compatible

Added by Rob Nahf almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Andrei Buium
Category:
d1_integration
Target version:
Start date:
2015-01-26
Due date:
% Done:

100%

Estimated time:
0.00 h
Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

The existing filenames for the certs are the common names of the X509 cert. some contain ':', so can't be used on Windows FS.

Remove the urn:node: prefix from the filename and update the references in the integration tests. Also, create symbolic links on mncheck.test.dataone.org so both v1 webtester and v2 webtester can use the same certs.

History

#1 Updated by Rob Nahf almost 10 years ago

added links to /etc/dataone/client/testClientCerts on mncheck:

lrwxr-xr-x 1 root root 22 2015-01-26 18:27 cnDevUNM1.crt -> urn:node:cnDevUNM1.crt
lrwxr-xr-x 1 root root 26 2015-01-26 18:27 cnSandboxUNM1.crt -> urn:node:cnSandboxUNM1.crt
lrwxr-xr-x 1 root root 24 2015-01-26 18:27 cnStageUNM1.crt -> urn:node:cnStageUNM1.crt

#2 Updated by Rob Nahf almost 10 years ago

created new-dated archive on mncheck testClientCerts-2015-01-26 that contains duplicate files instead of symbolic links to make it easier to install on windows FS.

called testClientCerts-2015-01-26.tgz

#3 Updated by Andrei Buium almost 10 years ago

updated the config files to point to the updated certificate names:

software/cicore/trunk/d1_integration/src/main/resources/org/dataone/configuration/context.DEV.test.properties
software/cicore/trunk/d1_integration/src/main/resources/org/dataone/configuration/context.SANDBOX.test.properties
software/cicore/trunk/d1_integration/src/main/resources/org/dataone/configuration/context.STAGE-2.test.properties
software/cicore/trunk/d1_integration/src/main/resources/org/dataone/configuration/context.STAGE.test.properties

also, test code now caches/uses the subject from the loaded certificates instead of relying on the filename and subject to match.

#4 Updated by Andrei Buium almost 10 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 40 to 100
  • translation missing: en.field_remaining_hours set to 0

Both the certificates and the code have been updated. Subject names / certificate filenames should now be compatible with Windows.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)