Skip to content

Commit 310a129

Browse files
authored
Merge pull request #26 from ProcessMaker/FOUR-30835
Fix SSL check is failing
2 parents c26a6be + a2c4004 commit 310a129

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ src/vendor
33
.php-cs-fixer.php
44
.php-cs-fixer.cache
55
.envrc
6+
.idea

Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,13 @@ RUN echo "deb https://archive.debian.org/debian buster main" > /etc/apt/sources.
1414

1515
RUN apt-get update && apt-get install -y git zip unzip
1616

17+
# Download and set the bundle
18+
RUN curl -kLo /usr/local/share/cacert.pem https://curl.se/ca/cacert.pem
19+
ENV CURL_CA_BUNDLE=/usr/local/share/cacert.pem
20+
ENV SSL_CERT_FILE=/usr/local/share/cacert.pem
21+
22+
# Apply to PHP
23+
RUN echo "openssl.cafile=/usr/local/share/cacert.pem" >> /usr/local/etc/php/php.ini \
24+
&& echo "curl.cainfo=/usr/local/share/cacert.pem" >> /usr/local/etc/php/php.ini
25+
1726
RUN composer install

src/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"config": {
1414
"audit": {
15-
"ignore": ["PKSA-dxyf-6n16-t87m", "PKSA-n3s6-289w-qtqb", "PKSA-z3gr-8qht-p93v", "PKSA-4t1p-xpk2-nsss"]
15+
"ignore": ["PKSA-4t1p-xpk2-nsss", "PKSA-dxyf-6n16-t87m", "PKSA-n3s6-289w-qtqb", "PKSA-z3gr-8qht-p93v"]
1616
}
1717
}
1818
}

0 commit comments

Comments
 (0)