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

13

tests

0

failures

2

ignored

0.054s

duration

100%

successful

Tests

Test Duration Result
getId 0.002s passed
getKeyStore_notRegistered 0.003s passed
getPid 0.007s passed
getServerName 0.003s passed
resolveString 0.006s passed
unregister_notRegistered 0.002s passed
unregister_registered 0.005s passed
updateKeystoreConfig_badConfig 0.005s passed
updateKeystoreConfig_goodConfig - ignored
updateKeystoreConfig_nullLocation - ignored
updateRegistration_notRegistered 0.011s passed
updateRegistration_registered 0.003s 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@28be7e1d
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.011 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@28be7e1d
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@28be7e1d
    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@7c4afd16
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.011 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@7c4afd16
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@7c4afd16
    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@b39580c7
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.011 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@b39580c7
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@b39580c7
    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@21c76057
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.011 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@21c76057
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@21c76057
    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@b3a9bb72
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.011 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@b3a9bb72
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@b3a9bb72
    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@2c435202
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.011 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@2c435202
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@2c435202
    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@4b530e84
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.011 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@4b530e84
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@4b530e84
    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@fffa7f9c
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.011 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@fffa7f9c
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@fffa7f9c
    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@8cfccdda
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.011 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@8cfccdda
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@8cfccdda
    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@12f3e658
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.011 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@12f3e658
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@12f3e658
    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@6627133b
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.011 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@6627133b
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@6627133b
    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.