[ 
https://issues.apache.org/jira/browse/FELIX-6360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234260#comment-17234260
 ] 

Abhishek Garg commented on FELIX-6360:
--------------------------------------

When we enable https there is updation of files 
{code:java}
com.adobe.granite.jetty.ssl.internal.GraniteSslConnectorFactory.config
org.apache.felix.http.config{code}
So when I restart the system after enabling HTTPS with changes [0] the context 
Path get lost.Need to find where these files are getting written.Instead of 
updating file `org.apache.felix.http.config` we should merge its elements with 
new values.

[0]:[https://github.com/apache/felix-dev/pull/61/files]

> Context gets removed when setting up SSL
> ----------------------------------------
>
>                 Key: FELIX-6360
>                 URL: https://issues.apache.org/jira/browse/FELIX-6360
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http.jetty-4.1.2
>            Reporter: Abhishek Garg
>            Priority: Major
>
> when someone switches from http to https all the configurations related to 
> jetty gets overridden with default values.should we first apply already 
> existing configuration and then new configuration at [0].
> [0]: 
> [https://github.com/apache/felix-dev/blob/master/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyConfig.java#L778]
> [1] : 
> [https://github.com/apache/felix-dev/blob/master/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java#L180]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to