Class com.ibm.ws.ssl.internal.KeystoreConfigTest

13

tests

0

failures

2

ignored

0.107s

duration

100%

successful

Tests

Test Duration Result
getId 0.008s passed
getKeyStore_notRegistered 0.010s passed
getPid 0.008s passed
getServerName 0.006s passed
resolveString 0.010s passed
unregister_notRegistered 0.003s passed
unregister_registered 0.004s passed
updateKeystoreConfig_badConfig 0.010s passed
updateKeystoreConfig_goodConfig - ignored
updateKeystoreConfig_nullLocation - ignored
updateRegistration_notRegistered 0.022s passed
updateRegistration_registered 0.019s passed
updateRegistration_registeredWithProps 0.007s passed

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@b6fe8ba1
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.295 seconds. SSL key file: /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/../com.ibm.ws.ssl/build/tmp/key.p12
[WARNING ] CWPKI0807W: The keyStore location /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/test/files/testKeyStoreFile could not be found for element with id attribute diffTypeKeyStore.
[WARNING ] CWPKI0809W: There is a failure loading the safKeyringThatDoesNotExist keystore. If an SSL configuration references the safKeyringThatDoesNotExist keystore, then the SSL configuration will fail to initialize.  
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@b6fe8ba1
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@b6fe8ba1
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@39c81cc9
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.295 seconds. SSL key file: /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/../com.ibm.ws.ssl/build/tmp/key.p12
[WARNING ] CWPKI0807W: The keyStore location /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/test/files/testKeyStoreFile could not be found for element with id attribute diffTypeKeyStore.
[WARNING ] CWPKI0809W: There is a failure loading the safKeyringThatDoesNotExist keystore. If an SSL configuration references the safKeyringThatDoesNotExist keystore, then the SSL configuration will fail to initialize.  
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@39c81cc9
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@39c81cc9
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@ffeb1d40
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.295 seconds. SSL key file: /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/../com.ibm.ws.ssl/build/tmp/key.p12
[WARNING ] CWPKI0807W: The keyStore location /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/test/files/testKeyStoreFile could not be found for element with id attribute diffTypeKeyStore.
[WARNING ] CWPKI0809W: There is a failure loading the safKeyringThatDoesNotExist keystore. If an SSL configuration references the safKeyringThatDoesNotExist keystore, then the SSL configuration will fail to initialize.  
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@ffeb1d40
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@ffeb1d40
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@c9b01eda
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.295 seconds. SSL key file: /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/../com.ibm.ws.ssl/build/tmp/key.p12
[WARNING ] CWPKI0807W: The keyStore location /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/test/files/testKeyStoreFile could not be found for element with id attribute diffTypeKeyStore.
[WARNING ] CWPKI0809W: There is a failure loading the safKeyringThatDoesNotExist keystore. If an SSL configuration references the safKeyringThatDoesNotExist keystore, then the SSL configuration will fail to initialize.  
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@c9b01eda
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@c9b01eda
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@80b53438
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.295 seconds. SSL key file: /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/../com.ibm.ws.ssl/build/tmp/key.p12
[WARNING ] CWPKI0807W: The keyStore location /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/test/files/testKeyStoreFile could not be found for element with id attribute diffTypeKeyStore.
[WARNING ] CWPKI0809W: There is a failure loading the safKeyringThatDoesNotExist keystore. If an SSL configuration references the safKeyringThatDoesNotExist keystore, then the SSL configuration will fail to initialize.  
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@80b53438
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@80b53438
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@985d539f
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.295 seconds. SSL key file: /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/../com.ibm.ws.ssl/build/tmp/key.p12
[WARNING ] CWPKI0807W: The keyStore location /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/test/files/testKeyStoreFile could not be found for element with id attribute diffTypeKeyStore.
[WARNING ] CWPKI0809W: There is a failure loading the safKeyringThatDoesNotExist keystore. If an SSL configuration references the safKeyringThatDoesNotExist keystore, then the SSL configuration will fail to initialize.  
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@985d539f
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@985d539f
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@728816c7
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.295 seconds. SSL key file: /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/../com.ibm.ws.ssl/build/tmp/key.p12
[WARNING ] CWPKI0807W: The keyStore location /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/test/files/testKeyStoreFile could not be found for element with id attribute diffTypeKeyStore.
[WARNING ] CWPKI0809W: There is a failure loading the safKeyringThatDoesNotExist keystore. If an SSL configuration references the safKeyringThatDoesNotExist keystore, then the SSL configuration will fail to initialize.  
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@728816c7
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@728816c7
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@3fd665ea
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.295 seconds. SSL key file: /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/../com.ibm.ws.ssl/build/tmp/key.p12
[WARNING ] CWPKI0807W: The keyStore location /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/test/files/testKeyStoreFile could not be found for element with id attribute diffTypeKeyStore.
[WARNING ] CWPKI0809W: There is a failure loading the safKeyringThatDoesNotExist keystore. If an SSL configuration references the safKeyringThatDoesNotExist keystore, then the SSL configuration will fail to initialize.  
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@3fd665ea
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@3fd665ea
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@910c450b
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.295 seconds. SSL key file: /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/../com.ibm.ws.ssl/build/tmp/key.p12
[WARNING ] CWPKI0807W: The keyStore location /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/test/files/testKeyStoreFile could not be found for element with id attribute diffTypeKeyStore.
[WARNING ] CWPKI0809W: There is a failure loading the safKeyringThatDoesNotExist keystore. If an SSL configuration references the safKeyringThatDoesNotExist keystore, then the SSL configuration will fail to initialize.  
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@910c450b
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@910c450b
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@257ad417
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.295 seconds. SSL key file: /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/../com.ibm.ws.ssl/build/tmp/key.p12
[WARNING ] CWPKI0807W: The keyStore location /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/test/files/testKeyStoreFile could not be found for element with id attribute diffTypeKeyStore.
[WARNING ] CWPKI0809W: There is a failure loading the safKeyringThatDoesNotExist keystore. If an SSL configuration references the safKeyringThatDoesNotExist keystore, then the SSL configuration will fail to initialize.  
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@257ad417
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@257ad417
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@7df63dcc
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.295 seconds. SSL key file: /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/../com.ibm.ws.ssl/build/tmp/key.p12
[WARNING ] CWPKI0807W: The keyStore location /home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.ws.ssl/test/files/testKeyStoreFile could not be found for element with id attribute diffTypeKeyStore.
[WARNING ] CWPKI0809W: There is a failure loading the safKeyringThatDoesNotExist keystore. If an SSL configuration references the safKeyringThatDoesNotExist keystore, then the SSL configuration will fail to initialize.  
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@7df63dcc
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@7df63dcc
    TrConfigZapper.zapTrConfig : finished invoke init()

Standard error

[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0033E: The keystore located at safkeyringjce:///doesNotExist did not load because of the following error: Errors encountered loading keyring. Keyring could not be loaded as a JCECCARACFKS or JCERACFKS keystore.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0033E: The keystore located at safkeyringjce:///doesNotExist did not load because of the following error: Errors encountered loading keyring. Keyring could not be loaded as a JCECCARACFKS or JCERACFKS keystore.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0033E: The keystore located at safkeyringjce:///doesNotExist did not load because of the following error: Errors encountered loading keyring. Keyring could not be loaded as a JCECCARACFKS or JCERACFKS keystore.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0033E: The keystore located at safkeyringjce:///doesNotExist did not load because of the following error: Errors encountered loading keyring. Keyring could not be loaded as a JCECCARACFKS or JCERACFKS keystore.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0033E: The keystore located at safkeyringjce:///doesNotExist did not load because of the following error: Errors encountered loading keyring. Keyring could not be loaded as a JCECCARACFKS or JCERACFKS keystore.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0033E: The keystore located at safkeyringjce:///doesNotExist did not load because of the following error: Errors encountered loading keyring. Keyring could not be loaded as a JCECCARACFKS or JCERACFKS keystore.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0033E: The keystore located at safkeyringjce:///doesNotExist did not load because of the following error: Errors encountered loading keyring. Keyring could not be loaded as a JCECCARACFKS or JCERACFKS keystore.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0033E: The keystore located at safkeyringjce:///doesNotExist did not load because of the following error: Errors encountered loading keyring. Keyring could not be loaded as a JCECCARACFKS or JCERACFKS keystore.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0033E: The keystore located at safkeyringjce:///doesNotExist did not load because of the following error: Errors encountered loading keyring. Keyring could not be loaded as a JCECCARACFKS or JCERACFKS keystore.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0033E: The keystore located at safkeyringjce:///doesNotExist did not load because of the following error: Errors encountered loading keyring. Keyring could not be loaded as a JCECCARACFKS or JCERACFKS keystore.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.
[ERROR   ] CWPKI0033E: The keystore located at safkeyringjce:///doesNotExist did not load because of the following error: Errors encountered loading keyring. Keyring could not be loaded as a JCECCARACFKS or JCERACFKS keystore.
[ERROR   ] CWPKI0806E: The keystore configuration is incomplete, the location and type must be specified.