[
https://issues.apache.org/jira/browse/FELIX-6194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16955424#comment-16955424
]
Carsten Ziegeler commented on FELIX-6194:
-----------------------------------------
With the code you have in the stackoverflow, you create a second jetty instance
which then fails as it tries to use the same ports as the already running one.
You need to get the configuration for the PID "org.apache.felix.http" from
configuration admin, update the properties you want to change and then jetty
will restart with the new values.
While it's true that this restarts Jetty completely, this shouldn't be a problem
> Get the SslContextFactory from Jetty
> ------------------------------------
>
> Key: FELIX-6194
> URL: https://issues.apache.org/jira/browse/FELIX-6194
> Project: Felix
> Issue Type: Wish
> Affects Versions: http.jetty-4.0.14
> Environment: Java 8
> Reporter: vato
> Priority: Critical
> Labels: features
>
> Hi,
> I would like to reload my keystore using
> [SslContextFactory|https://www.eclipse.org/jetty/javadoc/current/org/eclipse/jetty/util/ssl/SslContextFactory.html#reload(java.util.function.Consumer)]
> however I'm not able to get it from the bundle. I need to do this in runtime
> and updating the bundle properties affects the whole server which is not a
> good option for me.
> Please see this stackoverflow issue for more details
> [https://stackoverflow.com/questions/58260745/setting-ssl-keystore-at-runtime-in-apache-felix]
> Thanks in advance!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)