<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[SSL Problem: "cURL error 60: SSL certificate problem: self-signed certificate"]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have a problem with all of my wordpress apps (not just the developer ones, but the manged ones as well).</p>
<p dir="auto">When I try to import files (and images) from one domain/website to another by using wp all import/export, I get the error message "cURL error 60: SSL certificate problem: self-signed certificate".  When I try to curl the file in the terminal of an app, I also get this error.</p>
<p dir="auto">I know, there had been troubles with let's encrypt and wordpress and I checked and replaced the ca-certs-file within wordpress already (though the terminal does not even use the wordpress ca-certs file, so I guess it makes use of the OSs ca-certs).</p>
<p dir="auto">Does anyone have the same problems? Can someone give me a hint on how to  fix this problem? Can I change the ca-certs files of the OS without breaking something of the cloudron installation, as the advice is not to make any changes to the system cloudron is installed in.</p>
<p dir="auto">Thanks in advance<br />
Patrick</p>
]]></description><link>https://forum.cloudron.io/topic/12152/ssl-problem-curl-error-60-ssl-certificate-problem-self-signed-certificate</link><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 07:24:04 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/12152.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Jul 2024 19:02:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SSL Problem: "cURL error 60: SSL certificate problem: self-signed certificate" on Sun, 11 Aug 2024 21:35:27 GMT]]></title><description><![CDATA[<p dir="auto">Its a pfsense - as a virtual appliance.</p>
]]></description><link>https://forum.cloudron.io/post/92590</link><guid isPermaLink="true">https://forum.cloudron.io/post/92590</guid><dc:creator><![CDATA[Patmo.de]]></dc:creator><pubDate>Sun, 11 Aug 2024 21:35:27 GMT</pubDate></item><item><title><![CDATA[Reply to SSL Problem: "cURL error 60: SSL certificate problem: self-signed certificate" on Mon, 05 Aug 2024 11:16:14 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the update. Just out of curiosity, which firewall are you using here, which serves up error pages?</p>
]]></description><link>https://forum.cloudron.io/post/92213</link><guid isPermaLink="true">https://forum.cloudron.io/post/92213</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 05 Aug 2024 11:16:14 GMT</pubDate></item><item><title><![CDATA[Reply to SSL Problem: "cURL error 60: SSL certificate problem: self-signed certificate" on Sat, 03 Aug 2024 19:00:18 GMT]]></title><description><![CDATA[<p dir="auto">Ok, I found the source of the problem: the firewall. It did not allow a website to curl from the same server.</p>
<p dir="auto">When digging deeper into the error message, I was presented with a 404 page from the firewall and that certificate was self signed - of course.</p>
<p dir="auto">That's why I set up the cloudron unbound to use the dns of my firewall as described here: <a href="https://docs.cloudron.io/troubleshooting/#dns" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/troubleshooting/#dns</a> and now the curl operation works as expected. The topic can now be closed. Thank you all for your help and pointing me to the right directions!</p>
]]></description><link>https://forum.cloudron.io/post/92176</link><guid isPermaLink="true">https://forum.cloudron.io/post/92176</guid><dc:creator><![CDATA[Patmo.de]]></dc:creator><pubDate>Sat, 03 Aug 2024 19:00:18 GMT</pubDate></item><item><title><![CDATA[Reply to SSL Problem: "cURL error 60: SSL certificate problem: self-signed certificate" on Sat, 03 Aug 2024 11:25:13 GMT]]></title><description><![CDATA[<p dir="auto">Ah ok. Thanks for reopening it <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=f0ef0373a83" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
<p dir="auto">Yes, it shows the correct public IP of the domain.</p>
<p dir="auto"><img src="/assets/uploads/files/1722684211478-screenshot-2024-08-03-at-13-23-08-terminal-krisenkompass.de-wordpress-developer.png" alt="Screenshot 2024-08-03 at 13-23-08 Terminal - Krisenkompass.de (WordPress (Developer)).png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Both web terminals do that correctly. But when it comes to curl, the "self signed certificate" error shows up.</p>
]]></description><link>https://forum.cloudron.io/post/92171</link><guid isPermaLink="true">https://forum.cloudron.io/post/92171</guid><dc:creator><![CDATA[Patmo.de]]></dc:creator><pubDate>Sat, 03 Aug 2024 11:25:13 GMT</pubDate></item><item><title><![CDATA[Reply to SSL Problem: "cURL error 60: SSL certificate problem: self-signed certificate" on Wed, 31 Jul 2024 13:33:17 GMT]]></title><description><![CDATA[<p dir="auto">@Patmo-de looks like I misunderstood your edit. So, you can query it fine from outside? I can <code>curl https://krisenkompass.de/wp-content/uploads/2024/06/Dank-Allen.jpg</code> just fine, the certificates are valid.</p>
<p dir="auto"><img src="/assets/uploads/files/1722432731570-68c1f3be-398b-4750-9ad3-22e1ea766267-image.png" alt="image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">In the Web terminal of the app, can you <code>host krisenkompass.de</code> ? Does it point to your IP correctly?</p>
]]></description><link>https://forum.cloudron.io/post/92083</link><guid isPermaLink="true">https://forum.cloudron.io/post/92083</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Wed, 31 Jul 2024 13:33:17 GMT</pubDate></item><item><title><![CDATA[Reply to SSL Problem: "cURL error 60: SSL certificate problem: self-signed certificate" on Wed, 31 Jul 2024 13:13:18 GMT]]></title><description><![CDATA[<p dir="auto">But it is not solved?! I still cannot curl things from one cloudron app to the other on the same cloudron instance.</p>
]]></description><link>https://forum.cloudron.io/post/92080</link><guid isPermaLink="true">https://forum.cloudron.io/post/92080</guid><dc:creator><![CDATA[Patmo.de]]></dc:creator><pubDate>Wed, 31 Jul 2024 13:13:18 GMT</pubDate></item><item><title><![CDATA[Reply to SSL Problem: "cURL error 60: SSL certificate problem: self-signed certificate" on Wed, 31 Jul 2024 12:35:44 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the update, will mark this as solved</p>
]]></description><link>https://forum.cloudron.io/post/92072</link><guid isPermaLink="true">https://forum.cloudron.io/post/92072</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Wed, 31 Jul 2024 12:35:44 GMT</pubDate></item><item><title><![CDATA[Reply to SSL Problem: "cURL error 60: SSL certificate problem: self-signed certificate" on Tue, 30 Jul 2024 15:10:13 GMT]]></title><description><![CDATA[<p dir="auto">I am very sorry for my late answer but I have been Ill for the last few days.</p>
<p dir="auto">Both wordpress apps are installed <strong>on the same cloudron server</strong>. (I have two cloudron servers btw. and both are running for over a year now. One is older than the other. The Wordpress apps are running on the "younger" one). For Wordpress I use the <a href="https://www.wpallimport.com/import-wordpress-csv-xml-excel/" target="_blank" rel="noopener noreferrer nofollow ugc">WPAllImport</a>/WPAllExport Plugind by Soflyy. I used those for years now on my old servers. Now I switched with these two domains/apps to the cloudron server and I get these errors.</p>
<p dir="auto"><s>Maybe there is something else not working correctly, as I cannot "Renew Certs" as you mentioned. Each click ends in an<br />
<code>Cannot read properties of undefined (reading 'WEBSOCKETS_DOMAIN')</code> error. I'll dig into this first, maybe that is the source, why I cannot curl wordpress on that cloudron instance.</s></p>
<p dir="auto"><s>This is from the Log view:</s></p>
<pre><code>Jul 30 16:37:39 box:tasks setCompleted - 4772: {"result":null,"error":{"stack":"TypeError: Cannot read properties of undefined (reading 'WEBSOCKETS_DOMAIN')\n at writeAppLocationNginxConfig (/home/yellowtent/box/src/reverseproxy.js:550:47)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async writeAppConfigs (/home/yellowtent/box/src/reverseproxy.js:573:9)\n at async checkCerts (/home/yellowtent/box/src/reverseproxy.js:682:13)","message":"Cannot read properties of undefined (reading 'WEBSOCKETS_DOMAIN')"}}
Jul 30 16:37:39 box:tasks update 4772: {"percent":100,"result":null,"error":{"stack":"TypeError: Cannot read properties of undefined (reading 'WEBSOCKETS_DOMAIN')\n at writeAppLocationNginxConfig (/home/yellowtent/box/src/reverseproxy.js:550:47)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async writeAppConfigs (/home/yellowtent/box/src/reverseproxy.js:573:9)\n at async checkCerts (/home/yellowtent/box/src/reverseproxy.js:682:13)","message":"Cannot read properties of undefined (reading 'WEBSOCKETS_DOMAIN')"}}
[no timestamp]  Cannot read properties of undefined (reading 'WEBSOCKETS_DOMAIN')
[no timestamp]  at writeAppLocationNginxConfig (/home/yellowtent/box/src/reverseproxy.js:550:47)
[no timestamp]  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[no timestamp]  at async writeAppConfigs (/home/yellowtent/box/src/reverseproxy.js:573:9)
[no timestamp]  at async checkCerts (/home/yellowtent/box/src/reverseproxy.js:682:13)
</code></pre>
<p dir="auto"><em>[Edit: The "Renew certs" now works again. I had tested the pixelfed app on that instance as well and there were some problems with the certification process. This has been fixed now.]</em></p>
<p dir="auto">As for the CURL-Operations:<br />
The importer tries to CURL the images from the exported website to the other one. Therefore it tries to CURL the images. Tage this one for example:<br />
<a href="https://krisenkompass.de/wp-content/uploads/2024/06/Dank-Allen.jpg" target="_blank" rel="noopener noreferrer nofollow ugc">https://krisenkompass.de/wp-content/uploads/2024/06/Dank-Allen.jpg</a></p>
<p dir="auto">When I open the terminal of the wordpress app where this shall be imported and try to run the CURL task manually</p>
<pre><code>https://krisenkompass.de/wp-content/uploads/2024/06/Dank-Allen.jpg
</code></pre>
<p dir="auto">I receibe the following error message:</p>
<pre><code>curl: (60) SSL certificate problem: self-signed certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
</code></pre>
]]></description><link>https://forum.cloudron.io/post/92046</link><guid isPermaLink="true">https://forum.cloudron.io/post/92046</guid><dc:creator><![CDATA[Patmo.de]]></dc:creator><pubDate>Tue, 30 Jul 2024 15:10:13 GMT</pubDate></item><item><title><![CDATA[Reply to SSL Problem: "cURL error 60: SSL certificate problem: self-signed certificate" on Thu, 25 Jul 2024 07:32:51 GMT]]></title><description><![CDATA[<p dir="auto">@Patmo-de said in <a href="/post/91764">SSL Problem: "cURL error 60: SSL certificate problem: self-signed certificate"</a>:</p>
<blockquote>
<p dir="auto">I know, there had been troubles with let's encrypt and wordpress and I checked and replaced the ca-certs-file within wordpress already (though the terminal does not even use the wordpress ca-certs file, so I guess it makes use of the OSs ca-certs).</p>
</blockquote>
<p dir="auto">On Cloudron, the certificates are managed by nginx. This is in front of the application and the application has no idea about it. Any cert changes you make inside the WordPress container has no effect.</p>
<blockquote>
<p dir="auto">When I try to curl the file in the terminal of an app, I also get this error.</p>
</blockquote>
<p dir="auto">Can you tell us more about this? Are you trying to cURL an external app ? Are you transfering between WP instances where both are hosted on Cloudron ?</p>
]]></description><link>https://forum.cloudron.io/post/91812</link><guid isPermaLink="true">https://forum.cloudron.io/post/91812</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 25 Jul 2024 07:32:51 GMT</pubDate></item><item><title><![CDATA[Reply to SSL Problem: "cURL error 60: SSL certificate problem: self-signed certificate" on Wed, 24 Jul 2024 10:22:59 GMT]]></title><description><![CDATA[<p dir="auto">Presumably the domains from where you are importing from do not have valid SSL certificates. If those are on Cloudron, have you tried to manually click the certificate renew button to ensure those have valid ones? Otherwise I guess that WordPress importer needs some way to allow self-signed or ignore expired ones.</p>
]]></description><link>https://forum.cloudron.io/post/91772</link><guid isPermaLink="true">https://forum.cloudron.io/post/91772</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 24 Jul 2024 10:22:59 GMT</pubDate></item></channel></rss>