logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: How can I use Early-Data Header?
Author
o6asan



Joined: 27 Aug 2015
Posts: 44
Location: Japan, Fukuoka

PostPosted: Wed 24 Oct '18 4:34    Post subject: How can I use Early-Data Header? Reply with quote

Hi, I enabled TLSv1.3 on my server. Thanks for 2.4.37 release.

By the way, I added 'RequestHeader append Early-Data = "1"' to my ssl.conf and got 'AH00526: Syntax error' and 'Unknown parameter: 1'.

How can I use Early-Data Header or haven't Apache support "early-data" yet? I've not found about this information on Apache HTTP Server Documentation yet.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Wed 24 Oct '18 17:24    Post subject: Reply with quote

Don't use the equal sign

just

Code:

RequestHeader append Early-Data "1"
Back to top
o6asan



Joined: 27 Aug 2015
Posts: 44
Location: Japan, Fukuoka

PostPosted: Thu 25 Oct '18 4:40    Post subject: Reply with quote

Thank you, James.

The errors have gone.

But I have another question.
Before and after adding RequestHeader append Early-Data "1", I have the same message 'Early data was not sent' by 'openssl s_client ~'.

Do I need some other settings?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 25 Oct '18 10:51    Post subject: Reply with quote

RequestHeader is what it says it is. It adds it to the client.

I think you want to use

Code:
Header append Early-Data "1"
Back to top
o6asan



Joined: 27 Aug 2015
Posts: 44
Location: Japan, Fukuoka

PostPosted: Thu 25 Oct '18 15:19    Post subject: Reply with quote

Oh, mistake.
Yes, not RequestHeader but Header. But I still have the same message.

I think Session Resumption does not work well. Do I need some settings about this?
Quote:
SSLSessionTickets on
SSLSessionCache "shmcb:${SRVROOT}/logs/ssl_scache(512000)"
SSLSessionCacheTimeout 300
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 06 Nov '18 12:38    Post subject: Reply with quote

I haven looked into the code of mod_ssl, but I'm not sure is that module handles Early-Data.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Wed 21 Nov '18 18:37    Post subject: Reply with quote

I looked into the code an bit further and apache does not support that at the moment.
Back to top
long76



Joined: 28 Oct 2017
Posts: 10

PostPosted: Thu 16 Apr '20 16:58    Post subject: Reply with quote

any updates?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Sat 25 Apr '20 8:24    Post subject: Reply with quote

Nope, still no change in the source code about that.
Back to top


Reply to topic   Topic: How can I use Early-Data Header? View previous topic :: View next topic
Post new topic   Forum Index -> Apache