<?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[Dockerfile build error OpenSSL]]></title><description><![CDATA[<p dir="auto">I am getting this while making a custom package for a node/npm app (<a href="https://github.com/pawelmalak/snippet-box/" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/pawelmalak/snippet-box/</a>) :</p>
<p dir="auto"><code>ERR_OSSL_EVP_UNSUPPORTED</code></p>
<p dir="auto">My " developer friend" (aka ChatGPT <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--smile" style="height:23px;width:auto;vertical-align:middle" title=":smile:" alt="😄" />) says :</p>
<pre><code>The error message you're encountering, "Error: error:0308010C:digital envelope routines::unsupported," is related to OpenSSL, and it indicates that there may be an issue with OpenSSL within the Docker container.
</code></pre>
<p dir="auto">His (her?) suggestions don't fix it.<br />
Can't see this mentioned in the forum.<br />
Is it a base image issue, or anyone met it / fixed it ?</p>
]]></description><link>https://forum.cloudron.io/topic/10158/dockerfile-build-error-openssl</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 15:54:52 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/10158.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Oct 2023 12:32:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Dockerfile build error OpenSSL on Fri, 06 Oct 2023 17:37:21 GMT]]></title><description><![CDATA[<p dir="auto">All sorted.<br />
I cannot believe my own stupidity sometimes <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60a.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--blush" style="height:23px;width:auto;vertical-align:middle" title=":blush:" alt="😊" /><br />
Don't put me in charge of an aircraft.<br />
Repo now at <a href="https://git.cloudron.io/timconsidine/snippet-box-cloudron" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/timconsidine/snippet-box-cloudron</a></p>
]]></description><link>https://forum.cloudron.io/post/74903</link><guid isPermaLink="true">https://forum.cloudron.io/post/74903</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Fri, 06 Oct 2023 17:37:21 GMT</pubDate></item><item><title><![CDATA[Reply to Dockerfile build error OpenSSL on Fri, 06 Oct 2023 13:38:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> said in <a href="/post/74876">Dockerfile build error OpenSSL</a>:</p>
<blockquote>
<p dir="auto">Sounds like a nodejs version incompatibility. From a quick kagi search, can you try to export NODE_OPTIONS=--openssl-legacy-provider before running the npm steps?</p>
</blockquote>
<p dir="auto">Thank you !<br />
Building the image got past that issue.<br />
Ran into others, of course, so will look at them, but seems that one is killed <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44d.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--+1" style="height:23px;width:auto;vertical-align:middle" title=":+1:" alt="👍" /></p>
]]></description><link>https://forum.cloudron.io/post/74880</link><guid isPermaLink="true">https://forum.cloudron.io/post/74880</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Fri, 06 Oct 2023 13:38:54 GMT</pubDate></item><item><title><![CDATA[Reply to Dockerfile build error OpenSSL on Fri, 06 Oct 2023 13:36:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> said in <a href="/post/74873">Dockerfile build error OpenSSL</a>:</p>
<blockquote>
<p dir="auto">I really don't want to discourage you from working on packaging more useful apps for Cloudron</p>
</blockquote>
<p dir="auto">mostly scratching my own itches, so a bit selfish, but hopefully it helps others <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f64f.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--pray" style="height:23px;width:auto;vertical-align:middle" title=":pray:" alt="🙏" /></p>
<p dir="auto">but sometimes I have to check myself and wonder if it's only me that's itching, maybe others know a better way to do it <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--smile" style="height:23px;width:auto;vertical-align:middle" title=":smile:" alt="😄" /></p>
]]></description><link>https://forum.cloudron.io/post/74878</link><guid isPermaLink="true">https://forum.cloudron.io/post/74878</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Fri, 06 Oct 2023 13:36:35 GMT</pubDate></item><item><title><![CDATA[Reply to Dockerfile build error OpenSSL on Fri, 06 Oct 2023 13:25:05 GMT]]></title><description><![CDATA[<p dir="auto">Sounds like a nodejs version incompatibility. From a quick kagi search, can you try to <code>export NODE_OPTIONS=--openssl-legacy-provider</code> before running the npm steps?</p>
<p dir="auto">Or if this is in the Dockerfile I guess add it as and <code>ENV</code></p>
]]></description><link>https://forum.cloudron.io/post/74876</link><guid isPermaLink="true">https://forum.cloudron.io/post/74876</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Fri, 06 Oct 2023 13:25:05 GMT</pubDate></item><item><title><![CDATA[Reply to Dockerfile build error OpenSSL on Fri, 06 Oct 2023 13:20:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> while building the image from the Dockerfile :</p>
<pre><code>=&gt; ERROR [ 9/16] RUN npm run build     &amp;&amp; mv ./client/build/* ./public                                                               3.8s 
------                                                                                                                                     
 &gt; [ 9/16] RUN npm run build     &amp;&amp; mv ./client/build/* ./public:                                                                          
0.630 
0.630 &gt; snippet-hub@1.0.0 build
0.630 &gt; npm-run-all -n build:**
0.630 
0.817 
0.817 &gt; snippet-hub@1.0.0 build:client /app/code/package.json
0.817 &gt; npm run build --prefix=client 
0.817 
1.109 
1.109 &gt; snippet-hub@1.0.0 build:client
1.109 &gt; npm run build --prefix=client
1.109 
1.403 
1.403 &gt; client@0.1.0 build
1.403 &gt; react-scripts build
1.403 
3.141 Creating an optimized production build...
3.677 Error: error:0308010C:digital envelope routines::unsupported
3.677     at new Hash (node:internal/crypto/hash:71:19)
3.677     at Object.createHash (node:crypto:133:10)
3.677     at module.exports (/app/code/client/node_modules/webpack/lib/util/createHash.js:135:53)
3.677     at NormalModule._initBuildHash (/app/code/client/node_modules/webpack/lib/NormalModule.js:417:16)
3.677     at handleParseError (/app/code/client/node_modules/webpack/lib/NormalModule.js:471:10)
3.677     at /app/code/client/node_modules/webpack/lib/NormalModule.js:503:5
3.677     at /app/code/client/node_modules/webpack/lib/NormalModule.js:358:12
3.677     at /app/code/client/node_modules/loader-runner/lib/LoaderRunner.js:373:3
3.677     at iterateNormalLoaders (/app/code/client/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
3.677     at iterateNormalLoaders (/app/code/client/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
3.677     at /app/code/client/node_modules/loader-runner/lib/LoaderRunner.js:236:3
3.677     at runSyncOrAsync (/app/code/client/node_modules/loader-runner/lib/LoaderRunner.js:130:11)
3.677     at iterateNormalLoaders (/app/code/client/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
3.677     at Array.&lt;anonymous&gt; (/app/code/client/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
3.677     at Storage.finished (/app/code/client/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
3.677     at /app/code/client/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
3.691 /app/code/client/node_modules/react-scripts/scripts/build.js:19
3.691   throw err;
3.691   ^
3.691 
3.691 Error: error:0308010C:digital envelope routines::unsupported
3.691     at new Hash (node:internal/crypto/hash:71:19)
3.691     at Object.createHash (node:crypto:133:10)
3.691     at module.exports (/app/code/client/node_modules/webpack/lib/util/createHash.js:135:53)
3.691     at NormalModule._initBuildHash (/app/code/client/node_modules/webpack/lib/NormalModule.js:417:16)
3.691     at /app/code/client/node_modules/webpack/lib/NormalModule.js:452:10
3.691     at /app/code/client/node_modules/webpack/lib/NormalModule.js:323:13
3.691     at /app/code/client/node_modules/loader-runner/lib/LoaderRunner.js:367:11
3.691     at /app/code/client/node_modules/loader-runner/lib/LoaderRunner.js:233:18
3.691     at context.callback (/app/code/client/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
3.691     at /app/code/client/node_modules/babel-loader/lib/index.js:59:103 {
3.691   opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
3.691   library: 'digital envelope routines',
3.691   reason: 'unsupported',
3.691   code: 'ERR_OSSL_EVP_UNSUPPORTED'
3.691 }
3.691 
3.691 Node.js v18.12.1
3.736 ERROR: "build:client" exited with 1.
</code></pre>
]]></description><link>https://forum.cloudron.io/post/74875</link><guid isPermaLink="true">https://forum.cloudron.io/post/74875</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Fri, 06 Oct 2023 13:20:53 GMT</pubDate></item><item><title><![CDATA[Reply to Dockerfile build error OpenSSL on Fri, 06 Oct 2023 13:19:07 GMT]]></title><description><![CDATA[<p dir="auto">Where do you see this error exactly?</p>
]]></description><link>https://forum.cloudron.io/post/74874</link><guid isPermaLink="true">https://forum.cloudron.io/post/74874</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Fri, 06 Oct 2023 13:19:07 GMT</pubDate></item><item><title><![CDATA[Reply to Dockerfile build error OpenSSL on Fri, 06 Oct 2023 13:17:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/timconsidine" aria-label="Profile: timconsidine">@<bdi>timconsidine</bdi></a> said in <a href="/post/74872">Dockerfile build error OpenSSL</a>:</p>
<blockquote>
<p dir="auto">Alternatively ..... maybe I am barking up wrong tree ... again ... what do you use for managing code snippets ?</p>
</blockquote>
<p dir="auto">I don't, but I've mostly seen people share them on GitHub Gists <a href="https://gist.github.com/" target="_blank" rel="noopener noreferrer nofollow ugc">https://gist.github.com/</a></p>
<p dir="auto">So I'd guess the GitLab, Gitea etc would be your best bet (although at the same time I really don't want to discourage you from working on packaging more useful apps for Cloudron! <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /> )</p>
]]></description><link>https://forum.cloudron.io/post/74873</link><guid isPermaLink="true">https://forum.cloudron.io/post/74873</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Fri, 06 Oct 2023 13:17:07 GMT</pubDate></item><item><title><![CDATA[Reply to Dockerfile build error OpenSSL on Fri, 06 Oct 2023 13:07:08 GMT]]></title><description><![CDATA[<p dir="auto">Alternatively ..... maybe I am barking up wrong tree ... again ... what do you use for managing code snippets ?<br />
A docs resource ?<br />
A private wiki ?<br />
Self-hosted Gitlab ?</p>
]]></description><link>https://forum.cloudron.io/post/74872</link><guid isPermaLink="true">https://forum.cloudron.io/post/74872</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Fri, 06 Oct 2023 13:07:08 GMT</pubDate></item></channel></rss>