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

13

tests

0

failures

2

ignored

0.062s

duration

100%

successful

Tests

Test Duration Result
getId 0.002s passed
getKeyStore_notRegistered 0.003s passed
getPid 0.005s passed
getServerName 0.003s passed
resolveString 0.007s passed
unregister_notRegistered 0.003s passed
unregister_registered 0.003s passed
updateKeystoreConfig_badConfig 0.011s passed
updateKeystoreConfig_goodConfig - ignored
updateKeystoreConfig_nullLocation - ignored
updateRegistration_notRegistered 0.016s passed
updateRegistration_registered 0.003s passed
updateRegistration_registeredWithProps 0.006s passed

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@64599b94
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.884 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@64599b94
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@64599b94
    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@454c91
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.884 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@454c91
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@454c91
    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@e7435e4d
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.884 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@e7435e4d
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@e7435e4d
    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@1c55869d
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.884 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@1c55869d
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@1c55869d
    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@60f89213
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.884 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@60f89213
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@60f89213
    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@d231435e
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.884 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@d231435e
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@d231435e
    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@aa7e1f6f
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.884 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@aa7e1f6f
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@aa7e1f6f
    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@fb93383b
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.884 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@fb93383b
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@fb93383b
    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@aeaeabd2
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.884 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@aeaeabd2
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@aeaeabd2
    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@42d7ad63
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.884 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@42d7ad63
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@42d7ad63
    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@b4e07248
[AUDIT   ] CWPKI0803A: SSL certificate created in 1.884 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@b4e07248
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@b4e07248
    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.