You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Daniil Kirilyuk (Jira)" <ji...@apache.org> on 2023/02/21 14:03:00 UTC

[jira] [Created] (QPID-8624) [Broker-J] Unable to auto generate self signed certificate on Java17

Daniil Kirilyuk created QPID-8624:
-------------------------------------

             Summary: [Broker-J] Unable to auto generate self signed certificate  on Java17
                 Key: QPID-8624
                 URL: https://issues.apache.org/jira/browse/QPID-8624
             Project: Qpid
          Issue Type: Bug
          Components: Broker-J
    Affects Versions: qpid-java-broker-9.0.0
            Reporter: Daniil Kirilyuk
             Fix For: qpid-java-broker-9.0.1


When trying to autogenerate a keystore with self signed certificate on java 17 environment following error is thrown: 
{code:java}
org.apache.qpid.server.configuration.IllegalConfigurationException: Unable to construct keystore 
at org.apache.qpid.server.security.AutoGeneratedSelfSignedKeyStoreImpl.generatePrivateKeyAndCertificate(AutoGeneratedSelfSignedKeyStoreImpl.java:296) 
at org.apache.qpid.server.security.AutoGeneratedSelfSignedKeyStoreImpl.postResolve(AutoGeneratedSelfSignedKeyStoreImpl.java:169) 

Caused by: java.lang.IllegalAccessException: class org.apache.qpid.server.transport.network.security.ssl.SSLUtil cannot access class sun.security.tools.keytool.CertAndKeyGen (in module java.base) because module java.base does not export sun.security.tools.keytool to unnamed module @6b37576e at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Unknown Source) at java.base/java.lang.reflect.AccessibleObject.checkAccess(Unknown Source){code}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org