Dear VocBench Users,
This is more of a problem with running the SemanticTurkey Karaf container on https, but I'm hoping someone can help me figure out why it isn't working. I'll start by acknowledging that I do not have a computer science background...
Following the documentation, I've unpacked the VocBench application and have it running on an Apache server
here, in which I installed a certificate through certbot. We have Semantic Turkey running in a Docker container in the same machine, on port 1979. It works fine on http, but VocBench is not able to connect to Semantic Turkey through https (even after editing the required file in Semantic Turkey's etc/ dir).
I tried removing the Docker container and running Semantic Turkey directly on the server, as it is easier to edit the files. I followed
these instructions, in the Karaf docs, generating a self-signed certificate and adding the required lines to {semanticturkey dir}/etc/org.ops4j.pax.web.cfg within the Docker container:
org.osgi.service.http.port= # Here I also tried commenting out the line and removing it. Made no difference.
javax.servlet.context.tempdir=${karaf.data}/pax-web-jsp
org.ops4j.pax.web.config.file=${karaf.etc}/jetty.xml
org.apache.karaf.features.configKey = org.ops4j.pax.web
org.osgi.service.http.port.secure=1979 # also tied running it on port 8443. Made no difference.
org.osgi.service.http.secure.enabled=true
org.ops4j.pax.web.ssl.keystore=${karaf.etc}/keystore # I've placed the keystore in the karaf etc/ dir
org.ops4j.pax.web.ssl.password=<super secret password>
org.ops4j.pax.web.ssl.keypassword=<super secret password>
org.osgi.service.http.enabled=false
org.osgi.service.https.enabled=true
On the VocBench side, I added the Semantic Turkey port on vbconfig.js (var st_port = "1979";). I also tried specifying https as the protocol, but it didn't work. When I try connecting to
https://vocbench.rossio.fcsh.unl.pt I always get the error: