First off - make sure you've also created the necessary keystores and
set the appropriate properties:
# Secure HTTPS:
#
#org.osgi.service.http.port.secure=${tas.port}
# The HTTPS support above needs additional infrastructure:
# - a keystore
# - an SSL provider (the default is usually fine)
#
#org.ungoverned.osgi.bundle.https.enable=true
#org.ungoverned.osgi.bundle.https.keystore=etc/https.keystore
#org.ungoverned.osgi.bundle.https.password=password
#org.ungoverned.osgi.bundle.https.key.password=password
#
# The default provider is generally fine and can usually be left
commented out
#org.ungoverned.osgi.bundle.https.provider=org.mortbay.http.SunJsseListener
This ensures your https: (port 443) part is sorted.
But - if you also want http: (port 80) - you need to make sure you also
still include this
#
# Basic HTTP:
#
org.osgi.service.http.port=${tas.port}
If not, you'll only be able to serve resources over https
-- Rob
chihi asma wrote:
Hi all,
I configured the http server to work under ssl but I cant get on the browser
the servlets I have registred under the http server.Im using Jam as Jvm.
Can anyone help me?
Thanks in advance.
Asma
--
Ascert - Taking systems to the Edge
[email protected]
+44 (0)20 7488 3470
www.ascert.com