You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As Jetty wiki said, I'm creating keystore using keytool -keystore /etc/cas/jetty/thekeystore -alias cas -genkey -keyalg RSA
$ ll /etc/cas/jetty/
total 20
-rw-r--r-- 1 Administrator 197121 7293 Jan 28 10:11 thekeystore
but when I run mvn clean package jetty:run-forked , it's said:
[STDERR] 2019-01-28 10:11:35.785:INFO:oejs.ServerConnector:main: Started ServerConnector@54e7df6a{HTTP/1.1,[http/1.1]}{0.0.0.0:9080}
[STDOUT] -40LXX65XTU2L no valid keystore
[STDERR] java.lang.IllegalStateException: no valid keystore
[STDERR] at org.eclipse.jetty.util.security.CertificateUtils.getKeyStore(CertificateUtils.java:48)
[STDERR] at org.eclipse.jetty.util.ssl.SslContextFactory.loadKeyStore(SslContextFactory.java:1020)
[STDERR] at org.eclipse.jetty.util.ssl.SslContextFactory.doStart(SslContextFactory.java:336)
[STDERR] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
[STDERR] at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
[STDERR] at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
[STDERR] at org.eclipse.jetty.server.SslConnectionFactory.doStart(SslConnectionFactory.java:64)
[STDERR] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
[STDERR] at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
[STDERR] at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
[STDERR] at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:260)
[STDERR] at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:81)
[STDERR] at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:244)
[STDERR] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
[STDERR] at org.eclipse.jetty.server.Server.doStart(Server.java:384)
[STDERR] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
[STDERR] at org.eclipse.jetty.maven.plugin.Starter.run(Starter.java:370)
[STDERR] at org.eclipse.jetty.maven.plugin.Starter.main(Starter.java:468)
[INFO] Forked execution exit: 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
Please help.
The text was updated successfully, but these errors were encountered:
Hello,
As Jetty wiki said, I'm creating keystore using
keytool -keystore /etc/cas/jetty/thekeystore -alias cas -genkey -keyalg RSA
but when I run
mvn clean package jetty:run-forked
, it's said:Please help.
The text was updated successfully, but these errors were encountered: