https://rancher.com/ logo
Title
k

kind-church-47495

02/23/2023, 10:13 PM
Hi all, wondering if anyone is able to assist, running into a strange SSL/Java error on NeuVector manager when attempting to install from helm chart 2023-02-23 22:09:11,789|INFO |MANAGER|com.neu.web.Rest$(sslContext:31): Import manager's certificate and private key to manager's keystore 2023-02-23 22:09:11,799|INFO |MANAGER|com.neu.web.Rest$(sslContext:53): PKCS#8 private key is being used Exception in thread "main" java.lang.ExceptionInInitializerError at com.neu.web.Rest.main(Rest.scala) Caused by: java.lang.ClassCastException: class sun.security.pkcs11.P11Key$P11PrivateKey cannot be cast to class java.security.interfaces.RSAPrivateKey (sun.security.pkcs11.P11Key$P11PrivateKey is in module jdk.crypto.cryptoki of loader 'platform'; java.security.interfaces.RSAPrivateKey is in module java.base of loader 'bootstrap') at com.neu.core.MySslConfiguration$class.sslContext(MySslConfiguration.scala:62) at com.neu.web.Rest$.sslContext(Rest.scala:6) at com.neu.core.MySslConfiguration$class.$init$(MySslConfiguration.scala:153) at com.neu.web.Rest$.<init>(Rest.scala:6) at com.neu.web.Rest$.<clinit>(Rest.scala) I submitted also a github issue: https://github.com/neuvector/neuvector/issues/672