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

13

tests

0

failures

2

ignored

0.153s

duration

100%

successful

Tests

Test Duration Result
getId 0.021s passed
getKeyStore_notRegistered 0.010s passed
getPid 0.025s passed
getServerName 0.007s passed
resolveString 0.011s passed
unregister_notRegistered 0.007s passed
unregister_registered 0.008s passed
updateKeystoreConfig_badConfig 0.016s passed
updateKeystoreConfig_goodConfig - ignored
updateKeystoreConfig_nullLocation - ignored
updateRegistration_notRegistered 0.018s passed
updateRegistration_registered 0.013s passed
updateRegistration_registeredWithProps 0.017s passed

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@28fc1ab4
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.483 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@28fc1ab4
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@28fc1ab4
    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@8f6e06fb
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.483 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@8f6e06fb
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@8f6e06fb
    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@73a7798f
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.483 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@73a7798f
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@73a7798f
    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@7c2087a8
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.483 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@7c2087a8
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@7c2087a8
    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@c21e510d
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.483 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@c21e510d
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@c21e510d
    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@c8dfb88
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.483 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@c8dfb88
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@c8dfb88
    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@523bd16e
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.483 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@523bd16e
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@523bd16e
    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@fa346865
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.483 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@fa346865
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@fa346865
    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@e746308
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.483 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@e746308
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@e746308
    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@b5bda18c
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.483 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@b5bda18c
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@b5bda18c
    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@cbc43b71
[AUDIT   ] CWPKI0803A: SSL certificate created in 2.483 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@cbc43b71
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@cbc43b71
    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.