Upgrade via OC Administration App does report
cURL error 51: SSL: certificate subject name ‘my.domain.com ’ does not match target host name ‘localhost’
(my.domain.com is a substitute)
Is there a solution? Or is the only option to do an manual upgrade?
This problem seems similar to
verbose, the error message shown on a blank browser window is: cURL error 51: SSL: certificate subject name 'my.domain.name' does not match target host name 'internal.ipaddress.of.server' This happens when I call my server via its private IP address. When I call my server via its public url, I get the following error: cURL error 51: SSL: no alternative certificate subject name matches target host name 'localhost'
I applied the necessary upgrade patches, checked my SSL setup with www.ssllabs.c…
Manual upgrades are always the best options as the updater app is known to not work that reliable.
In your specific case there was a longer discussion in [1] which led to a possible fix in [2]. However as you’re on an outdated version 9.1.2 you don’t have this fix yet and now facing this issue.
[1]
opened 04:29PM - 11 Dec 16 UTC
closed 10:57PM - 02 Feb 17 UTC
Hi,
at the very beginning (still in the "Initializing" part) on a v9.1.1 I re… ceive:
```
[GuzzleHttp\Exception\RequestException]
cURL error 51: SSL: no alternative certificate subject name matches target host name 'hostname'
[GuzzleHttp\Exception\RequestException]
cURL error 51: SSL: no alternative certificate subject name matches target host name 'hostname'
```
I remind a few days ago the owncloud app store had some issues with new Let´s Encrypt certificates.
Is this one related to this issue?
[2]
master ← log-occ-controller-requests
opened 02:37PM - 05 Sep 16 UTC
## Description
- Allows requests to occ controller from $_SERVER['SERVER_ADDR'… ]
- Adds more logging for non-authorized requests
## Related Issue
Fixes https://github.com/owncloud/core/issues/25973
## Motivation and Context
Allows to determine what precondition has been failed while opening web updater
## How Has This Been Tested?
By sending POST requests to `/index.php/occ/status`
Any failed precondition should be written to owncloud.log
## Screenshots (if appropriate):
## Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
## Checklist:
- [x] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [x] I have read the **CONTRIBUTING** document.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.