# Certificate configuration for HTTP on FST

**URL:** <https://eos-community.web.cern.ch/t/certificate-configuration-for-http-on-fst/1023>\
**Category:** Site Administrators\
**Created:** [September 26, 2024, 1:20am UTC](https://eos-community.web.cern.ch/t/certificate-configuration-for-http-on-fst/1023 "2024-09-26T01:20:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rptaylor](https://eos-community.web.cern.ch/letter_avatar_proxy/v4/letter/r/49beb7/32.png) [@rptaylor](https://eos-community.web.cern.ch/u/rptaylor)\
**Post date:** [September 26, 2024, 1:20am UTC](https://eos-community.web.cern.ch/t/certificate-configuration-for-http-on-fst/1023/1 "2024-09-26T01:20:49Z")

</div>

Hello,  
In [4.7. Protocols & APIs — EOS DIOPSIDE documentation](https://eos-docs.web.cern.ch/diopside/manual/protocols.html#http-s-support-and-http-tpc-with-token-authentication) I noticed that the xrdhttp configuration shown for FSTs (only 3 lines) does not include anything to specify a host certificate and key. At first I thought this was an oversight, but then I noticed [this](https://xrootd.slac.stanford.edu/doc/dev57/xrd_config.htm#_Toc171719987) about HTTPS to HTTP conversion of data transfers for performance reasons.

I also submitted [a MR](https://gitlab.cern.ch/dss/eos/-/merge_requests/226) to change the http directives to xrd ones as the former are deprecated.

Can anyone clarify? Should MGM(s), and also all FSTs, normally be configured with xrd.tlsca and xrd.tls for HTTPS to work?

Thanks!

---

<div class="post-metadata">

**Author:** ![esindril](https://eos-community.web.cern.ch/user_avatar/eos-community.web.cern.ch/esindril/32/9_2.png) [@esindril](https://eos-community.web.cern.ch/u/esindril)\
**Post date:** [September 26, 2024, 6:34am UTC](https://eos-community.web.cern.ch/t/certificate-configuration-for-http-on-fst/1023/2 "2024-09-26T06:34:26Z")

</div>

Hi Ryan,

Thanks for the merge request this is now in `master`. You are right, and the way we configure TLS support in all our machines is to use the unified interface provided by `xrd.tls` and `xrd.tlsca`.

Cheers,  
Elvin

---

<div class="post-metadata">

**Author:** ![rptaylor](https://eos-community.web.cern.ch/letter_avatar_proxy/v4/letter/r/49beb7/32.png) [@rptaylor](https://eos-community.web.cern.ch/u/rptaylor)\
**Post date:** [September 26, 2024, 5:46pm UTC](https://eos-community.web.cern.ch/t/certificate-configuration-for-http-on-fst/1023/3 "2024-09-26T17:46:51Z")

</div>

Thanks @esindril !

Regarding the MGM/FST difference, just to confirm, do you mean that only MGM needs the xrd.tls and xrd.tlsca settings (because the xrootd HTTPS to HTTP conversion is used) ?  
I had the impression that all FST nodes need host certificates, but if not it would be much simpler.

---

<div class="post-metadata">

**Author:** ![esindril](https://eos-community.web.cern.ch/user_avatar/eos-community.web.cern.ch/esindril/32/9_2.png) [@esindril](https://eos-community.web.cern.ch/u/esindril)\
**Post date:** [September 27, 2024, 6:44am UTC](https://eos-community.web.cern.ch/t/certificate-configuration-for-http-on-fst/1023/4 "2024-09-27T06:44:59Z")

</div>

They all need certificates, sorry if there was any confusion!

Cheers,  
Elvin
