-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
cURL/SSL error when upgrading from 9.1.1 to 9.1.2 #26906
Comments
@dassencio are you using SSL with a valid certificate ? Seems the updater app is using "localhost" with HTTPS for which the cert is likely not verifiable. @VicDeo any input on this ? |
@PVince81 : the certificate is valid and signed by Let's Encrypt. I've tried it both on Firefox and Chromium; both browsers accept it without a warning and recognize that it has been issued and verified by Let's Encrypt. Also, the "Common Name (CN)" field is correctly set to the URL of the ownCloud instance I'm running -- and no, this URL is not localhost ;-) |
@PVince81 Just the same with owncloud/updater#414 (comment) |
@VicDeo so is this something that needs to be documented to make sure it's not missing in the setup ? |
I can confirm that I've experienced this issue too with the same environment apart from using Debian. The updater fails with this error when using Let's Encrypt as the certificate provider. The workaround is to turn off the verify function within guzzlehttp's config - however I've been strongly advised that this will have significant security risks. |
@geekonthepc are you using nginx? |
@VicDeo No, afraid not. I'm using Apache 2.4. |
having the same issue The log displays
Server configurationOperating system: Web server: Database: PHP version: ownCloud version: (see ownCloud admin page) Updated from an older ownCloud or fresh install: Where did you install ownCloud from: Signing status (ownCloud 9.0 and above): The content of config/config.php: List of activated apps: Are you using external storage, if yes which one: Are you using encryption: Are you using an external user-backend, if yes which one: Client configurationBrowser: Firefox 54 Operating system: Windows 10 Pro Browser log |
Fixed down to stable9 with Please change your |
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. |
Steps to reproduce
Expected behaviour
The update process starts.
Actual behaviour
The following is shown on the screen:
cURL error 51: SSL: no alternative certificate subject name matches target host name 'localhost'
Server configuration
Operating system: Ubuntu/Linux
Web server:
Database: MySQL
PHP version: 5.6 and 7.0 (problem occurred with both versions)
ownCloud version: 9.1.1
Updated from an older ownCloud or fresh install: updated from 9.1
Where did you install ownCloud from: installed at web host
Signing status (ownCloud 9.0 and above):
Integrity checker has been disabled. Integrity cannot be verified.
List of activated apps:
Default encryption module 1.3.0
Deleted files 0.9.0
First run wizard 1.1
Gallery 15.0.0
Mail Template Editor 0.1
Notifications 0.3.0
PDF Viewer 0.8.1
Share Files 0.10.0
Text Editor 2.1
Update notification 0.2.1
Video player 0.9.8
Calendar 1.4.1
Contacts 1.5.1
Audio Player 1.4.0
(not possible)
The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/...
no
Are you using encryption: yes/no
yes
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no
Client configuration
Browser:
Firefox / Chromium
Operating system:
Ubuntu/Linux
Logs
Web server error log
ownCloud log (data/owncloud.log)
Browser log
The text was updated successfully, but these errors were encountered: