2016-11-04 12:54:34,172+0100 ERROR [jetty-main-1] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Failed to start
java.lang.IllegalStateException: no valid keystore
at org.eclipse.jetty.util.security.CertificateUtils.getKeyStore(CertificateUtils.java:48) [org.eclipse.jetty.util:9.3.7.v20160115]
at org.eclipse.jetty.util.ssl.SslContextFactory.loadKeyStore(SslContextFactory.java:1016) [org.eclipse.jetty.util:9.3.7.v20160115]
at org.eclipse.jetty.util.ssl.SslContextFactory.doStart(SslContextFactory.java:332) [org.eclipse.jetty.util:9.3.7.v20160115]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) [org.eclipse.jetty.util:9.3.7.v20160115]
:$ ls -lR /opt/nexus/sonatype-work/nexus3/etc/jetty/
/opt/nexus/sonatype-work/nexus3/etc/jetty/:
total 8
-rw-r--r-- 1 nexus nexus 3714 Nov 4 12:53 jetty-https.xml
drwxr-sr-x 2 nexus nexus 4096 Nov 4 12:23 ssl
/opt/nexus/sonatype-work/nexus3/etc/jetty/ssl:
total 16
-rw-r--r-- 1 nexus nexus 5122 Nov 4 12:23 nexus3.jks
-rw-r--r-- 1 nexus nexus 4194 Nov 4 12:23 nexus3.p12
$ diff /opt/nexus/nexus-3.0.2-02/etc/jetty-https.xml /opt/nexus/sonatype-work/nexus3/etc/jetty/jetty-https.xml
24c24
< <Set name="KeyStorePath"><Property name="karaf.etc"/>/ssl/nexus3.jks</Set>
---
> <Set name="KeyStorePath"><Property name="ssl.etc"/>/ssl/nexus3.jks</Set>
27c27
< <Set name="TrustStorePath"><Property name="karaf.etc"/>/ssl/nexus3.jks</Set>
---
> <Set name="TrustStorePath"><Property name="ssl.etc"/>/ssl/nexus3.jks</Set>
$ cat /opt/nexus/sonatype-work/nexus3/etc/nexus.properties
# Jetty section
application-host=0.0.0.0
#nexus-args=${karaf.etc}/jetty.xml,${karaf.etc}/jetty-http.xml,${karaf.etc}/jetty-requestlog.xml
nexus-args=${jetty.etc}/jetty.xml,${jetty.etc}/jetty-requestlog.xml,${jetty.etc}/jetty-https.xml
nexus-context-path=/
application-port-ssl=8443
# Nexus section
nexus-edition=nexus-pro-edition
nexus-features=\
nexus-pro-feature
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/b0d64866-64bb-45c4-8436-8a462f24638c%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
<Set name="KeyStorePath"><Property name="ssl.etc"/>/etc/ssl/my.jks</Set>
<Set name="TrustStorePath"><Property name="ssl.etc"/>/etc/ssl/my.jks</Set>
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/65339b93-1f41-4ebd-8fec-15d1d0af8388%40glists.sonatype.com.
Thanks for the help
2018-05-17 18:41:48,516+0000 WARN [qtp1134232997-46] *SYSTEM org.eclipse.jetty.http.HttpParser - Illegal character 0x16 in state=START for buffer HeapByteBuffer@1908c0e8[p=1,l=517,c=8192,r=516]={\x16<<<\x03\x01\x02\x00\x01\x00\x01\xFc\x03\x03(\x88\xDe\x8f\x03\x9d\x9f...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/d62f0f56-9ef0-4102-9096-52052485522f%40glists.sonatype.com.