I have an Eclipse RCP
Project with an Equinox Jetty
Web Server. I want the Jetty Server to use SSL
.
I tested setting the Attributes in the Run Configuration of Eclipse and it works fine.
-Dorg.eclipse.equinox.http.jetty.https.enabled=true
...
Now my Question: Is there a programmatic way to make Jetty
use SSL
?
将SSLConnector添加到您的连接器列表中,例如
SslConnector sslConnector = new SslSelectChannelConnector(sslContextFactory);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.