Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jun 22, 2018
Merged

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

merged 1 commit into from
Jun 22, 2018

Conversation

robert-scheck
Copy link
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). Note that this is required inside of ownCloud rather on web server level due to shared web hosting systems, where the customer/user might not be able to do this on web server level (Apache/Nginx configuration changes for the virtual host).

As per https://owncloud.org/community/develop/contributor-agreement/ I am releasing my code/contribution (this PR) under the MIT license.

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). Note that this is required inside of ownCloud rather on web server level due to shared web hosting systems, where the customer/user might not be able to do this on web server level (Apache/Nginx configuration changes for the virtual host).

Signed-off-by: Robert Scheck <robert@fedoraproject.org>
@CLAassistant
Copy link

CLAassistant commented Jun 21, 2018

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@codecov
Copy link

codecov bot commented Jun 21, 2018

Codecov Report

Merging #31856 into master will decrease coverage by 0.04%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #31856      +/-   ##
============================================
- Coverage     63.27%   63.23%   -0.05%     
- Complexity    18476    18488      +12     
============================================
  Files          1161     1161              
  Lines         69371    69486     +115     
  Branches       1261     1261              
============================================
+ Hits          43895    43936      +41     
- Misses        25106    25180      +74     
  Partials        370      370
Flag Coverage Δ Complexity Δ
#javascript 52.47% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 64.46% <0%> (-0.06%) 18488 <0> (+12)
Impacted Files Coverage Δ Complexity Δ
lib/private/Setup.php 16.5% <0%> (ø) 49 <0> (ø) ⬇️
lib/private/Preview/MP3.php 56.52% <0%> (-1.55%) 14% <0%> (+1%)
lib/private/Preview.php 79.23% <0%> (-1.2%) 168% <0%> (+3%)
lib/private/Preview/TXT.php 77.55% <0%> (-0.58%) 10% <0%> (+1%)
lib/private/Preview/Image.php 86.95% <0%> (-0.55%) 5% <0%> (ø)
lib/private/Preview/Office.php 0% <0%> (ø) 14% <0%> (ø) ⬇️
lib/private/Preview/SVG.php 0% <0%> (ø) 7% <0%> (ø) ⬇️
lib/private/Preview/Movie.php 0% <0%> (ø) 31% <0%> (+7%) ⬆️
lib/private/Preview/Bitmap.php 86.84% <0%> (+7.67%) 8% <0%> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2df5b94...7c64374. Read the comment docs.

@lock
Copy link

lock bot commented Jul 30, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants