Skip to content

Handle SSL certificate verifications for others than Let's Encrypt - #8182

Merged
MorrisJobke merged 1 commit into
nextcloud:masterfrom
robert-scheck:pki-validation
Feb 6, 2018
Merged

Handle SSL certificate verifications for others than Let's Encrypt#8182
MorrisJobke merged 1 commit into
nextcloud:masterfrom
robert-scheck:pki-validation

Conversation

@robert-scheck

Copy link
Copy Markdown
Contributor

Do no longer (wrongly) rewrite URLs like

for automated SSL certificate verifications. All (common commercial) certificate authorities (CA) except Let's Encrypt (via ACME) seem to use "pki-validation" rather "acme-challenge" for their domain control validation (DCV).

Signed-off-by: Robert Scheck robert@fedoraproject.org

Do no longer (wrongly) rewrite URLs like
* http://example.net/.well-known/pki-validation/file.txt (Comodo)
* http://example.net/.well-known/pki-validation/fileauth.txt (DigiCert, Thawte, GeoTrust)
* http://example.net/.well-known/pki-validation/gsdv.txt (GlobalSign)
* http://example.net/.well-known/pki-validation/starfield.htm (Starfield, GoDaddy)
* http://example.net/.well-known/pki-validation/swisssign-check.txt (SwissSign)
for automated SSL certificate verifications. All (common commercial)
certificate authorities (CA) except Let's Encrypt (via ACME) seem to
use "pki-validation" rather "acme-challenge" for their domain control
validation (DCV).
Signed-off-by: Robert Scheck <robert@fedoraproject.org>
@rullzer

Copy link
Copy Markdown
Member

I'm still not at all a fan of this. IMO this kind of stuff has to be taken care of at the webserver level.

@robert-scheck

Copy link
Copy Markdown
ContributorAuthor

Once you are running Nextcloud on a shared webhosting system, the customer/user is not able to do this on webserver level. Given there is already an exception for Let's Encrypt, I would like to see other CAs not to be disadvantaged at least.

@nickvergessen

Copy link
Copy Markdown
Member

Fine by me

@robert-scheck

Copy link
Copy Markdown
ContributorAuthor

Btw, PR #8183 is backport to Nextcloud 13.x, PR #8184 is backport to Nextcloud 12.x.

@MorrisJobke

Copy link
Copy Markdown
Member

The phan failure is fixed in master -> merging.

@MorrisJobkeMorrisJobke reopened this Feb 6, 2018
@MorrisJobke
MorrisJobke merged commit 27f5056 into nextcloud:masterFeb 6, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@robert-scheck@rullzer@nickvergessen@MorrisJobke