Curl error: SSL certificate problem: certificate has expired

I have renewed the letsencrypt certificate without result. The install was shortly moved from another server.
I can login and use it normally with https, the browser shows the right certificate.

Am I overseeing something?

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version 12.0.3
Operating system and version - Ubuntu 16.04
Apache or nginx version Apache 2.4.18
PHP version 5.6

The issue you are facing:

Is this the first time you’ve seen this error? Y

Steps to replicate it:

  1. start the update to 13.04

The output of your Nextcloud log in Admin > Logging:

|Error|PHP|Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. at Unknown#0|2018-04-24T23:39:18+0200|
|---|---|---|---|
|Error|index|InvalidArgumentException: Unable to parse malformed url: http://|2018-04-24T23:31:02+0200|
|Error|index|InvalidArgumentException: Unable to parse malformed url: https://|2018-04-24T23:31:01+0200|
|Error|PHP|Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. at Unknown#0|2018-04-24T23:30:33+0200|