Thanks a lot Senthalan for the offline help in understanding how the new
config model works.

So basically, in order to configure anything via the single configuration
file - i.e. deployment.toml - we need to have it templated in
'/repository/resources/conf/templates'. When I checked it, I couldn't find
a template for AccessLogValve of catalina-server.xml - its 'pattern'
attribute is something that could get changed in deployments. Shouldn't we
template that?

On Fri, Sep 27, 2019 at 4:59 PM Senthalan Kanagalingam <sentha...@wso2.com>
wrote:

> Hi Dulanja,
>
> The corresponding configuration will be the following, We need to add them
> in the deployment.toml file
>
> [transport.https.properties]
> protocols = "+TLSv1.1"
> ssl_protocol = "TLS"
>
> Thanks,
> Senthalan
>
> On Fri, Sep 27, 2019 at 4:56 PM Dulanja Liyanage <dula...@wso2.com> wrote:
>
>> Thanks Tharindu!
>>
>> Can someone please show me how to add ciphers to catalina-server.xml
>> through this new model? Is there a doc?
>>
>> Thanks in advance.
>>
>> On Fri, Sep 27, 2019 at 4:50 PM Tharindu Dharmarathna <tharin...@wso2.com>
>> wrote:
>>
>>> Hi Dulanja,
>>>
>>> In kernel new release 4.5.0 we have new single file config model,
>>> therefore, the changes done in specific files get reverted by the single
>>> config file configurations.
>>>
>>> Thanks
>>> Tharindu
>>>
>>> On Fri, Sep 27, 2019 at 4:29 PM Dulanja Liyanage <dula...@wso2.com>
>>> wrote:
>>>
>>>> Hi Team,
>>>>
>>>> When I added "ciphers" inside the <SSLHostConfig>, it got removed when
>>>> I restarted the server. Same happened when I changed a valve config. How
>>>> can I make the changes stick? I tested using an IS 5.9.0 Beta pack.
>>>>
>>>> Thanks,
>>>> Dulanja
>>>>
>>>>
>>>
>>> --
>>>
>>> *Tharindu Dharmarathna*Associate Technical Lead
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94779109091*
>>>
>>
>>
>> --
>> Dulanja Liyanage
>> Lead, Platform Security Team
>> WSO2 Inc.
>>
>
>
> --
> Senthalan Kanagalingam | Senior Software Engineer | WSO2 Inc.
> (m) +94 (0) 77 18 77 466 | (w) +94117435800 | (e) sentha...@wso2.com
>
> <http://wso2.com/signature>
>
>

-- 
Dulanja Liyanage
Lead, Platform Security Team
WSO2 Inc.
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to