Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006463 [Resin] minor always 02-25-22 10:19 02-25-22 13:11
Reporter nam View Status public  
Assigned To
Priority normal Resolution no change required Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 4.0.66
  Product Build
Summary 0006463: windows java jdk 17 module error with resin-provided JSSE self-signed certificate
Description Resin cannot start up on Windows with JDK17 because it does not have access to the Java package sun.security.tools.keytool.

java.lang.IllegalAccessException: class com.caucho.vfs.SelfSignedCert$CertAndKeyGen 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 @69379752
        at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:392)
        at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:674)
        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:489)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
        at com.caucho.vfs.SelfSignedCert$CertAndKeyGen.<init>(SelfSignedCert.java:210)
        at com.caucho.vfs.SelfSignedCert.create(SelfSignedCert.java:108)
        at com.caucho.vfs.JsseSSLFactory.createSelfSignedCert(JsseSSLFactory.java:681)
        at com.caucho.vfs.JsseSSLFactory.createAnonymousFactory(JsseSSLFactory.java:636)
        at com.caucho.vfs.JsseSSLFactory.create(JsseSSLFactory.java:478)
        at com.caucho.network.listen.TcpPort.bind(TcpPort.java:1123)
        at com.caucho.cloud.network.NetworkListenSystem.start(NetworkListenSystem.java:231)
        at com.caucho.env.service.ResinSystem.startServices(ResinSystem.java:552)
        at com.caucho.env.service.ResinSystem.start(ResinSystem.java:519)
        at com.caucho.server.resin.Resin.start(Resin.java:890)
        at com.caucho.server.resin.Resin.initMain(Resin.java:1038)
        at com.caucho.server.resin.Resin.main(Resin.java:1497)
com.caucho.config.ConfigException: Cannot generate anonymous certificate
        at com.caucho.vfs.JsseSSLFactory.createAnonymousFactory(JsseSSLFactory.java:639)
        at com.caucho.vfs.JsseSSLFactory.create(JsseSSLFactory.java:478)
        at com.caucho.network.listen.TcpPort.bind(TcpPort.java:1123)
        at com.caucho.cloud.network.NetworkListenSystem.start(NetworkListenSystem.java:231)
        at com.caucho.env.service.ResinSystem.startServices(ResinSystem.java:552)
        at com.caucho.env.service.ResinSystem.start(ResinSystem.java:519)
        at com.caucho.server.resin.Resin.start(Resin.java:890)
        at com.caucho.server.resin.Resin.initMain(Resin.java:1038)
        at com.caucho.server.resin.Resin.main(Resin.java:1497)
Cannot generate anonymous certificate
[22-02-25 10:14:55.922] {main} com.caucho.config.ConfigException: Cannot generate anonymous certificate
                        at com.caucho.vfs.JsseSSLFactory.createAnonymousFactory(JsseSSLFactory.java:639)
                        at com.caucho.vfs.JsseSSLFactory.create(JsseSSLFactory.java:478)
                        at com.caucho.network.listen.TcpPort.bind(TcpPort.java:1123)
                        at com.caucho.cloud.network.NetworkListenSystem.start(NetworkListenSystem.java:231)
                        at com.caucho.env.service.ResinSystem.startServices(ResinSystem.java:552)
                        at com.caucho.env.service.ResinSystem.start(ResinSystem.java:519)
                        at com.caucho.server.resin.Resin.start(Resin.java:890)
                        at com.caucho.server.resin.Resin.initMain(Resin.java:1038)
                        at com.caucho.server.resin.Resin.main(Resin.java:1497)
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0007050)
nam
02-25-22 13:11

If an https port is specified and no certificate is provided and openssl is not enabled, then Resin will automatically generate and use its own self-signed certificate. This functionality is for testing purposes and not intended for use by end-users.
 

- Issue History
Date Modified Username Field Change
02-25-22 10:19 nam New Issue
02-25-22 10:35 nam Summary windows java jdk 17 module error with openssl https certificate => windows java jdk 17 module error with openssl https self-signed certificate
02-25-22 13:10 nam Summary windows java jdk 17 module error with openssl https self-signed certificate => windows java jdk 17 module error with resin-provided JSSE self-signed certificate
02-25-22 13:11 nam Status new => closed
02-25-22 13:11 nam Note Added: 0007050
02-25-22 13:11 nam Resolution open => no change required


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker