Skip to content

Conversation

@PSUdaemon
Copy link
Contributor

This is a first pass at making an ACME plugin for ATS. This current version amounts to a simple static file server that leverages a CLI client, but there are plans to make this a fully standalone implementation down the road.

@zwoop
Copy link
Contributor

zwoop commented Apr 11, 2016

Looks ok, +1.


static const char PLUGIN_NAME[] = "acme";
static const char ACME_WK_PATH[] = ".well-known/acme-challenge/";
static const char ACME_OK_RESP[] = "HTTP/1.1 200 OK\r\nContent-Type: application/jose\r\nCache-Control: no-cache\r\n";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no-cache (https://tools.ietf.org/html/rfc7234#section-5.2.1.4) or no-store (https://tools.ietf.org/html/rfc7234#section-5.2.1.5)? Eg, cache it, but validate before serving from cache, or don't cache it at all?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, lets make it CC: no-store,private. This likely is in several other plugins that this is stole^h^h^h borrowed from. Perhaps file a Jira on fixing those as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, we should make a separate JIRA and get all these at once. I'll leave this be for now.

@mlibbey
Copy link
Contributor

mlibbey commented Apr 11, 2016

Could you include a readme or better a doc page (https://docs.trafficserver.apache.org/en/latest/developer-guide/documentation/plugins.en.html) explaining what this is and does?

typedef struct AcmeConfig_t {
char *proof;
} AcmeConfig;
AcmeConfig gConfig;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

static

@asfgit asfgit merged commit f949aed into apache:master Apr 18, 2016
shinrich added a commit to shinrich/trafficserver that referenced this pull request Jan 9, 2018
Address the AM_CFLAGS AM_CXXFLAGS in tsxs.in
@zwoop zwoop added this to the Old milestone Jan 8, 2019
brbzull0 pushed a commit to brbzull0/trafficserver that referenced this pull request Oct 6, 2021
brbzull0 pushed a commit to brbzull0/trafficserver that referenced this pull request Nov 8, 2021
brbzull0 pushed a commit to brbzull0/trafficserver that referenced this pull request Nov 9, 2021
brbzull0 pushed a commit to brbzull0/trafficserver that referenced this pull request Nov 9, 2021
brbzull0 pushed a commit to brbzull0/trafficserver that referenced this pull request Jan 24, 2022
ywkaras pushed a commit to ywkaras/trafficserver that referenced this pull request Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants