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

13

tests

0

failures

2

ignored

0.125s

duration

100%

successful

Tests

Test Duration Result
getId 0.003s passed
getKeyStore_notRegistered 0.004s passed
getPid 0.006s passed
getServerName 0.024s passed
resolveString 0.011s passed
unregister_notRegistered 0.002s passed
unregister_registered 0.017s passed
updateKeystoreConfig_badConfig 0.012s passed
updateKeystoreConfig_goodConfig - ignored
updateKeystoreConfig_nullLocation - ignored
updateRegistration_notRegistered 0.015s passed
updateRegistration_registered 0.012s passed
updateRegistration_registeredWithProps 0.019s passed

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@8ba5889d
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.073 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@8ba5889d
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@8ba5889d
    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@b88f40ad
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.073 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@b88f40ad
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@b88f40ad
    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@99baf539
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.073 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@99baf539
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@99baf539
    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@e35f08ba
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.073 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@e35f08ba
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@e35f08ba
    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@8459ce36
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.073 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@8459ce36
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@8459ce36
    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@d11ee472
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.073 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@d11ee472
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@d11ee472
    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@b7d6ace5
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.073 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@b7d6ace5
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@b7d6ace5
    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@b9238aed
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.073 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@b9238aed
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@b9238aed
    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@9dbaff02
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.073 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@9dbaff02
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@9dbaff02
    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@eda4ef71
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.073 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@eda4ef71
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@eda4ef71
    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@72a71618
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.073 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@72a71618
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@72a71618
    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.