HTTP => https Issues - Sonatype Nexus Repository - Sonatype Community

HTTP => https Issues

post by bop4hell on Dec 4, 2020

Hi everyone.

During my test migration of our Artifactory to Nexus “which run pretty easy” the passage from http to https seems to give me hard time…

Can someone tell me what is going on… probably an error on my end but I don’t find it !

Thanks

The doc I have followed and I use the Nexus v3.28.0-01 OSS version at the moment and it’s on windows…

Configuring SSL

Run OK
Unzip / first run OK.
C:\Nexus3\nexus-3.28.0-01\bin>.\nexus.exe /run

C:\Nexus3\nexus-3.28.0-01\bin>.\nexus.exe /run 2020-12-04 10:53:51,199+0100 INFO

[FelixStartLevel] *SYSTEM org.sonatype.nexus.pax.logging.NexusLogActivator - start 2020-12-04 10:53:51,964+0100 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.features.internal.FeaturesWrapper - Fast FeaturesService starting

... (summary of further logs here) ...


post by jtom on Dec 8, 2020

It’s not clear to me from your post, does the instance run without https?

The error doesn’t look like an https error, it looks like a bundle failed to load.

If you’re a licensed pro user, try installing your license. Also if you’re a licensed pro user, did you contact support? You are paying for that!

post by bop4hell on Dec 9, 2020

Hi Joe TOM, thanks you for your reply.

I agree with you my post is a bit messy, I wanted to put much information as possible but was not able to ordonate that as I wanted it.

... further posts omitted for brevity ...

post by abgeklaut on Dec 8, 2021

I encountered the exact same problem- and found the solution. For anybody that has the same problem as @bop4hell or me, here you go:

You have to add the line “application-port-ssl=8443” to the nexus.properties config (It was the port 8443 for me, but you should obviously use your preferred port).

Since your default nexus.properties does not include the ‘application-port-ssl’ line, the application throws an error on startup.