[ 
https://issues.apache.org/jira/browse/QPID-8624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17725649#comment-17725649
 ] 

ASF subversion and git services commented on QPID-8624:
-------------------------------------------------------

Commit ad7b4189dfc6b05c3eb599c0731c7a01e28ea607 in qpid-broker-j's branch 
refs/heads/main from Daniil Kirilyuk
[ https://gitbox.apache.org/repos/asf?p=qpid-broker-j.git;h=ad7b4189df ]

QPID-8624: [Broker-J] Unable to auto generate self signed certificate  on 
Java17 (#181)



> [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
>            Priority: Major
>             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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to