docker-magento
docker-magento copied to clipboard
Generating ssl cert fails on Arch Linux
Description
On an Arch based Linux, generating the ssl cert during domain setup fails due to incorrect paths in bin/setup-ssl-ca.
On line 68 of bin/setup-ssl-ca, for arch linux, this should be:
sudo mv rootCA.pem /etc/ca-certificates/trust-source/anchors/rootCA.crt
sudo update-ca-trust
Additionally, an error is thrown about dpkg-query (line 41) as that is not available on arch.
Can anyone else confirm this issue or has a fix for this? (I don't run Linux so can't test/diagnose this).
I can confirm this, I’m running Arch under WSL2.
Thanks for confirming. Very willing to take in a PR that fixes this!
Possibly related https://github.com/markshust/docker-magento/issues/784
Hm, seems like the issue isn't just about Arch—it's about Linux in general, I get the same dpkg and cert messages on RPM distros...
As far as I understand, under RHEL/CentOS you should do:
sudo mv rootCA.pem /etc/pki/ca-trust/source/anchors/rootCA.crt
sudo update-ca-trust
Description
On an Arch based Linux, generating the ssl cert during domain setup fails due to incorrect paths in bin/setup-ssl-ca.
On line 68 of bin/setup-ssl-ca, for arch linux, this should be:
sudo mv rootCA.pem /etc/ca-certificates/trust-source/anchors/rootCA.crt sudo update-ca-trust
Additionally, an error is thrown about dpkg-query (line 41) as that is not available on arch.
Hi @btantlinger,
I'm using ubuntu22.04 and Docker on VPS, installed magento 2.4.6, when I add ssl (bin/setup-ssl and bin/setup-SSL-ca) to the website, and I can't find the trust-source/anchors/ folder in my system. How can I solve this problem.
@AngeloZou I get the same problem on my Ubuntu. Please, can you share the way to fix this?