Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] ssl in Jetty 9.4.6

I updated 9.3.6.v20151106 to 9.4.6.v20170531 with no problems in my http services.  Then I set about adding SSL support following
https://www.eclipse.org/jetty/documentation/9.4.6.v20170531/configuring-ssl.html

I apparently had no difficulty adding self-issued certificates, but I have stubbed my to preparing to configuring ssl for jetty

I went to the section "Configuring SSL in Jetty Distribution" . With Jetty stopped I did
    java -jar /opt/jetty/jetty-distribution-9.4.6.v20170531/start.jar --add-to-start=ssl
which is ALMOST as expected, showed
  INFO  : server          transitively enabled, ini template available with --add-to-start=server
  INFO  : ssl             initialized in ${jetty.base}/start.ini
  MKDIR : ${jetty.base}/etc
  COPY  : ${jetty.home}/modules/ssl/keystore to ${jetty.base}/etc/keystore
  INFO  : Base directory was modified

Several things are differ from the documentation:
1. The file came out named start.ini although it seems to be a reasonable module file for a module ssi.ini
2. The line 
   " INFO  : ssl             initialized in ${jetty.base}/start.ini"
seems to suggest  that 
     ${jetty.base}/start.ini  should reference ssl.ini
but ${jetty.base}/start.ini is unchanged from my initial 9.3.6.v20151106 installation

Here I have come to a stop except for changing the name of  ${jetty.base}/start.d/start.ini to  ${jetty.base}/start.d/ssl.ini ,the top of which is
# ---------------------------------------                                                                        
# Module: ssl                                                                                                    
# Enables a TLS(SSL) Connector on the server.                                                                    
# This may be used for HTTPS and/or HTTP2 by enabling                                                            
# the associated support modules.                                                                                
# ---------------------------------------                                                                        
--module=ssl

### TLS(SSL) Connector Configuration                                                                             

and the rest is all comment lines.

What now?
Thanks
--Bob 
--
Robert A. Morris

Emeritus Professor  of Computer Science
UMASS-Boston
100 Morrissey Blvd
Boston, MA 02125-3390


Filtered Push Project
Kurator Project
Harvard University Herbaria
Harvard University

email: morris.bob@xxxxxxxxx
web: http://efg.cs.umb.edu/
web: http://wiki.filteredpush.org
       http://wiki.datakurator.org
       http://taxonconceptexplorer.org/
http://www.cs.umb.edu/~ram

Back to the top