Skip to content

MCLOUD-6469: dh key too small when trying to use magento-cloud-docker-tls #273

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions images/php/7.2-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ RUN wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendma
&& sudo chmod +x mhsendmail_linux_amd64 \
&& sudo mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail

# Change security level to avoid `dh key too small` error
RUN sed -i 's/SECLEVEL=2/SECLEVEL=1/g' /etc/ssl/openssl.cnf

# Configure the gd library
RUN docker-php-ext-configure \
gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
Expand Down
3 changes: 3 additions & 0 deletions images/php/7.3-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ RUN wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendma
&& sudo chmod +x mhsendmail_linux_amd64 \
&& sudo mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail

# Change security level to avoid `dh key too small` error
RUN sed -i 's/SECLEVEL=2/SECLEVEL=1/g' /etc/ssl/openssl.cnf

# Configure the gd library
RUN docker-php-ext-configure \
gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
Expand Down
3 changes: 3 additions & 0 deletions images/php/7.4-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ RUN wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendma
&& sudo chmod +x mhsendmail_linux_amd64 \
&& sudo mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail

# Change security level to avoid `dh key too small` error
RUN sed -i 's/SECLEVEL=2/SECLEVEL=1/g' /etc/ssl/openssl.cnf

# Configure the gd library
RUN docker-php-ext-configure \
gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/
Expand Down
3 changes: 3 additions & 0 deletions images/php/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ RUN wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendma
&& sudo chmod +x mhsendmail_linux_amd64 \
&& sudo mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail

# Change security level to avoid `dh key too small` error
RUN sed -i 's/SECLEVEL=2/SECLEVEL=1/g' /etc/ssl/openssl.cnf

# Configure the gd library
{%docker-php-ext-configure%}

Expand Down