Hi Team,
We are using Nexus OSS 3.27.0-03 and enabled the SSL certificate.
As part of SSL, we have modified “nexus.properties” file to access vi http, https and also to redirect url from “http” to “https” as mentioned below.
cat nexus.properties
Jetty section
application-port=8081
application-port-ssl=8443
application-host=0.0.0.0
nexus-args=${jetty.etc}/jetty.xml,${jetty.etc}/jetty-http.xml,${jetty.etc}/jetty-https.xml,${jetty.etc}/jetty-http-redirect-to-https.xml,${jetty.etc}/jetty-requestlog.xml
ssl.etc=${karaf.data}/etc/ssl
nexus-context-path=/
Nexus section
nexus-edition=nexus-pro-edition
nexus-features=\
nexus-pro-feature
nexus.hazelcast.discovery.isEnabled=true
We can able to access uhttp or https and also redirectiing from http to https via IP address but same thing not happing when we try to do via DNS name.
First time when we try to access url via DNS name with the help of http://xxxxxx:8081, redirecting it to https://xxxxxx:8443 and when we try to accessing the same time 2nd time not working due to the caching.
Please let me know if any thing need to do from /etc/hosts file or not.
Everytiem we can’t clear the cache.