|
|
|
@ -300,9 +300,8 @@ public class UndertowEmbeddedServletContainerFactory
|
|
|
|
|
KeyManagerFactory keyManagerFactory = KeyManagerFactory
|
|
|
|
|
.getInstance(KeyManagerFactory.getDefaultAlgorithm());
|
|
|
|
|
Ssl ssl = getSsl();
|
|
|
|
|
char[] keyPassword = ssl.getKeyPassword() != null
|
|
|
|
|
? ssl.getKeyPassword().toCharArray()
|
|
|
|
|
: null;
|
|
|
|
|
char[] keyPassword = (ssl.getKeyPassword() != null
|
|
|
|
|
? ssl.getKeyPassword().toCharArray() : null);
|
|
|
|
|
if (keyPassword == null && ssl.getKeyStorePassword() != null) {
|
|
|
|
|
keyPassword = ssl.getKeyStorePassword().toCharArray();
|
|
|
|
|
}
|
|
|
|
|