-
Bug
-
Resolution: Done
-
Major
-
7.3.0.GA
-
-
-
-
-
-
+
-
Workaround Exists
-
-
When using a security-realm configured with SSL like this:
<security-realm name="CertificateRealm"> <server-identities> <ssl> <keystore provider="PKCS12" path="${jboss.server.config.dir}/keystore.p12" alias="jboss"> <keystore-password-credential-reference store="sample-store" alias="p12-password"/> </keystore> </ssl> </server-identities> </security-realm>
The EAP startup fails with the following exception:
org.wildfly.core.management.security.realm.CertificateRealm.key-manager: Failed to start service at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1731) at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559) at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NullPointerException: invalid null input at java.security.KeyStore$PrivateKeyEntry.<init>(KeyStore.java:524) at sun.security.pkcs12.PKCS12KeyStore.engineGetEntry(PKCS12KeyStore.java:1311) at sun.security.provider.KeyStoreDelegator.engineGetEntry(KeyStoreDelegator.java:172) at sun.security.provider.JavaKeyStore$DualFormatJKS.engineGetEntry(JavaKeyStore.java:70) at java.security.KeyStore.getEntry(KeyStore.java:1521) at org.jboss.as.domain.management.security.FileKeystore.load(FileKeystore.java:134) at org.jboss.as.domain.management.security.FileKeyManagerService.loadKeyStore(FileKeyManagerService.java:175) at org.jboss.as.domain.management.security.AbstractKeyManagerService.createKeyManagers(AbstractKeyManagerService.java:128) at org.jboss.as.domain.management.security.AbstractKeyManagerService.start(AbstractKeyManagerService.java:93) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739) at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701) ... 6 more
- clones
-
WFCORE-4965 Error loading a PKCS12 keystore inside a security-realm when using a credential-reference
- Closed
- relates to
-
JBEAP-19903 (7.3.z) Test for JBEAP-19446 fails with -Delytron
- Closed