You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi ya. I'm trying to set up SSL but it's not linking the default-ssl.conf Apache config into the sites-enabled directory. If I symlink it there manually, I then get a missing cert error: /etc/ssl/certs/ssl-cert-snakeoil.pem isn't on the system. So I thought ok, should I go manually create the self-signed cert? Nope, that didn't work either.
So, I think I'm going down a rabbit hole that I shouldn't be. I'm sure you've built the platform for SSL capabilities.
Note: I actually don't think what I'm trying to do (call the AWS API) will work with a self-signed cert. 🤔
Here's my Docker files:
Dockerfile
FROM thecodingmachine/php:8.3-v4-apache
USER root
RUN apt-get update && \
apt-get install -y \
git \
libpq-dev \
libzip-dev \
unzip \
zip \
wget \
gnupg
ENV ACCEPT_EULA=Y
# Register the Microsoft repository GPG keys and add the repository
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
&& curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list > /etc/apt/sources.list.d/mssql-release.list \
&& apt-get update
# Install MS ODBC Driver for SQL Server and other dependencies
RUN apt-get install -y msodbcsql18 unixodbc-dev
RUN PECL_EXTENSION=sqlsrv /usr/local/lib/thecodingmachine-php/extensions/core/docker-install.sh
RUN PECL_EXTENSION=pdo_sqlsrv /usr/local/lib/thecodingmachine-php/extensions/core/docker-install.sh
ENV PHP_EXTENSIONS="sqlsrv pdo_sqlsrv"
USER docker
To be honnest, i never tried to activate apache ssl. Its should work but as you seen, some vhost are not properly configured (because we do not generate the self-signed for our default vhost). I trust i will never.
Instead of that you can add a reverse proxy to manage your certificate :
Hi ya. I'm trying to set up SSL but it's not linking the
default-ssl.conf
Apache config into thesites-enabled
directory. If I symlink it there manually, I then get a missing cert error:/etc/ssl/certs/ssl-cert-snakeoil.pem
isn't on the system. So I thought ok, should I go manually create the self-signed cert? Nope, that didn't work either.So, I think I'm going down a rabbit hole that I shouldn't be. I'm sure you've built the platform for SSL capabilities.
Note: I actually don't think what I'm trying to do (call the AWS API) will work with a self-signed cert. 🤔
Here's my Docker files:
Dockerfile
docker-compose.yml
The text was updated successfully, but these errors were encountered: