In default configuration, Apache Archiva 2.2 uses HTTP, and official documentation tells nothing how to change it to HTTPS.
I think that this can be done by modifying conf/jetty.xml
file, but when I try to do this, as described in Jetty documentation, it only gives me errors like:
java.lang.NoSuchMethodException: class org.eclipse.jetty.util.ssl.SslContextFactory.setTrustStorePath(class java.lang.String)
Is it possible to do this?
I used Apache as a HTTPS proxy, configuring new virtual host:
Don't forget to enable two apache mods that are necessary to run this: